Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes #25611: Remove unused v3 write API and associated function #25623

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions influxdb3_server/src/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -429,12 +429,6 @@ where
self.write_lp_inner(params, req, false, false).await
}

async fn write_v3(&self, req: Request<Body>) -> Result<Response<Body>> {
let query = req.uri().query().ok_or(Error::MissingWriteParams)?;
let params: WriteParams = serde_urlencoded::from_str(query)?;
self.write_lp_inner(params, req, false, true).await
}

async fn write_lp_inner(
&self,
params: WriteParams,
Expand Down Expand Up @@ -1374,7 +1368,6 @@ pub(crate) async fn route_request<T: TimeProvider>(

http_server.write_lp_inner(params, req, false, false).await
}
(Method::POST, "/api/v3/write") => http_server.write_v3(req).await,
(Method::POST, "/api/v3/write_lp") => http_server.write_lp(req).await,
(Method::GET | Method::POST, "/api/v3/query_sql") => http_server.query_sql(req).await,
(Method::GET | Method::POST, "/api/v3/query_influxql") => {
Expand Down