Skip to content

[DocDB] Flush regular db immediate if intents db write is blocked by immutable mem tables #18358

@spolitov

Description

@spolitov

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

  • I confirm this issue does not contain any sensitive information.

Metadata

Metadata

Assignees

Labels

area/docdbYugabyteDB core featureskind/enhancementThis is an enhancement of an existing featurepriority/mediumMedium priority issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions