e3: deadlock fix

This commit is contained in:
alex.sharov 2023-03-30 09:06:40 +07:00
parent 8bb83fe770
commit 331f3ed871

View File

@ -936,7 +936,7 @@ func reconstituteStep(last bool,
commitThreshold := batchSize.Bytes()
prevRollbackCount := uint64(0)
prevTime := time.Now()
reconDone := make(chan struct{})
reconDone := make(chan struct{}, 1)
defer close(reconDone)