flush implicit writes in all paths in updateWriteEpoch
This commit is contained in:
parent
be6cc2c3e6
commit
a29947d47c
@ -623,6 +623,7 @@ func (s *SplitStore) updateWriteEpoch() {
|
|||||||
if dt < 0 {
|
if dt < 0 {
|
||||||
writeEpoch := curTs.Height() + 1
|
writeEpoch := curTs.Height() + 1
|
||||||
if writeEpoch > s.writeEpoch {
|
if writeEpoch > s.writeEpoch {
|
||||||
|
s.flushImplicitWrites(true)
|
||||||
s.writeEpoch = writeEpoch
|
s.writeEpoch = writeEpoch
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user