Title
#users-public
j

Jack

08/16/2022, 6:30 PM
Hey - during an o3 commit, how many uncommitted records would the TableWriter try to commit at once? Assuming all uncommitted records are older than the lag. (I am assuming that committing 100 records and sorting once, is better than committing 10 records and sorting 10 times?)
Andrey Pechkurov

Andrey Pechkurov

08/17/2022, 8:28 AM
Hi Jack It would commit all uncommitted records in this case, as long as this count is not greater than table's
maxUncommittedRows
setting (the default is controlled via
cairo.max.uncommitted.rows
and set to 500K)
8:29 AM
If the number of such records is larger than, the writer would commit
maxUncommittedRows
records and leave all remaining ones until the next commit
j

Jack

08/17/2022, 3:11 PM
Understood - thanks. What happens in the event that QDB starts applying backpressure to ILP?
Andrey Pechkurov

Andrey Pechkurov

08/17/2022, 3:34 PM
TCP packets get dropped, so the client has to retry sending them. This "blocks" the client until the server catches up
3:34 PM
Let me know if I misunderstood your question