[DocDB] Flush regular db immediate if intents db write is blocked by immutable mem tables #18358
Closed
1 task done
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-7343
Description
We cannot flush intents db before regular db, since it could result in situation when intents were deleted from intents db.
But transaction was not yet applied to regular db.
So there is a logic to postpone intents db flush until regular db is flushed.
RocksDB rejects new writes when there are too many non flushed mem tables.
In our system it is configured to 2 mem tables.
So we could get into situation when writes are blocked because there are too many non flushed mem tables in intents db.
But intents db waits until regular db is flushed.
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: