-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Add write API endpoint to write data unsync'd #25597
Comments
To add a bit to this, I think a lot of the "plumbing" is set up to do this already. Right now, when we handle an incoming write, we use the influxdb/influxdb3_write/src/write_buffer/mod.rs Lines 251 to 264 in b7fd8e2
That is what is waiting for WAL durability before responding to the caller. I think the key to this is to use the influxdb/influxdb3_wal/src/lib.rs Lines 63 to 64 in b7fd8e2
That could be called first with the FWIW, I think a parameter on the existing write API would work well. |
We should have a new write endpoint (or perhaps a parameter on the existing one?) that will accept writes and put it into the WAL buffer and return a success to the client prior to the WAL flush happening. It should still validate, it just won't wait for the WAL file to be persisted to object storage to return.
The text was updated successfully, but these errors were encountered: