File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
packages/service-core/src/sync Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -200,13 +200,6 @@ async function* streamResponseInner(
200200 function markOperationsSent ( operations : number ) {
201201 syncedOperations += operations ;
202202 tracker . addOperationsSynced ( operations ) ;
203- // Disable interrupting checkpoints for now.
204- // There is a bug with interrupting checkpoints where:
205- // 1. User is in the middle of syncing a large batch of data (for example initial sync).
206- // 2. A new checkpoint comes in, which interrupts the batch.
207- // 3. However, the new checkpoint does not contain any new data for this connection, so nothing further is synced.
208- // This then causes the client to wait indefinitely for the remaining data or checkpoint_complete message. That is
209- // only resolved when a new checkpoint comes in that does have data for this connection, or the connection is restarted.
210203 maybeRaceForNewCheckpoint ( ) ;
211204 }
212205
You can’t perform that action at this time.
0 commit comments