You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
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 write_lp method on the write buffer, which validates the write into a WalOp::Write (and a WalOp::Catalog if necessary), then send it to the WAL with the Wal::write_ops method:
That could be called first with the WalOp::Catalogs, if there are any, then the WalOp::Writes to accomplish what is described above before returning a response.
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: