Open debnatkh opened 4 months ago
CollectGarbage
is executed with commitId = GetCurrentCommitId() = 42
Cleanup
is started. It acquires a collect barrier with commitId = 42
:Cleanup
transaction, another CollectGarbage
is exeсuted. CollectCommitId
is selected as follows:GarbageQueue.GetCollectCommitId()
:commitId = 42
, thus CollectCommitId will be equal to 41
, which is less than LastCollectCommitId
Generating a new CommitId on the Cleanup
execution will solve the issue
Errors like following stared causing IndexTablet to restart
Looks like
CollectGarbage
requests sent byTIndexTablet
does not guarantee the increasing order of (gen, step)Started seeing this error much more often after enabling vhost-side reads on the whole cluster