You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// We encountered a transaction end without start - this could happen because we truncated the AOF
231
-
// after a checkpoint, and the transaction belonged to the previous version. It can safely
232
-
// be ignored.
233
-
break;
234
199
caseAofEntryType.CheckpointStartCommit:
235
200
// Inform caller that we processed a checkpoint start marker so that it can record ReplicationCheckpointStartOffset if this is a replica replay
236
201
isCheckpointStart=true;
237
202
if(header.aofHeaderVersion>1)
238
203
{
239
204
if(inFuzzyRegion)
240
205
{
241
-
logger?.LogInformation("Encountered new CheckpointStartCommit before prior CheckpointEndCommit. Clearing {fuzzyRegionBufferCount} records from previous fuzzy region",fuzzyRegionBuffer.Count);
242
-
fuzzyRegionBuffer.Clear();
206
+
logger?.LogInformation("Encountered new CheckpointStartCommit before prior CheckpointEndCommit. Clearing {fuzzyRegionBufferCount} records from previous fuzzy region",aofReplayBuffer.FuzzyRegionBufferCount);
207
+
aofReplayBuffer.ClearFuzzyRegionBuffer();
243
208
}
244
209
inFuzzyRegion=true;
245
210
}
@@ -268,17 +233,10 @@ public unsafe void ProcessAofRecordInternal(byte* ptr, int length, bool asReplic
logger?.LogInformation("Replaying {fuzzyRegionBufferCount} records from fuzzy region for checkpoint {newVersion}",fuzzyRegionBuffer.Count,storeWrapper.store.CurrentVersion);
logger?.LogInformation("Replaying {fuzzyRegionBufferCount} records from fuzzy region for checkpoint {newVersion}",fuzzyRegionBuffer.Count,storeVersion);
0 commit comments