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
fix(storage): regard all produce requests as duplicate whose sequence… (#1865)
* fix(storage): regard all produce requests as duplicate whose sequence number is less than the 5 retained batches
Signed-off-by: Ning Yu <[email protected]>
* test: disable an unstable test
Signed-off-by: Ning Yu <[email protected]>
* test: update kafka tests
Signed-off-by: Ning Yu <[email protected]>
---------
Signed-off-by: Ning Yu <[email protected]>
() =>"Should have received an OutOfOrderSequenceException since we attempted to append a duplicate of a batch which is older than the last 5 appended batches.")
1309
+
// AutoMQ for Kafka inject start
1310
+
// We expect a DuplicateSequenceException since we attempted to append a duplicate of a batch which is older than the last 5 appended batches.
() =>"Should have received an DuplicateSequenceException since we attempted to append a duplicate of a batch which is older than the last 5 appended batches.")
1313
+
// AutoMQ for Kafka inject end
1311
1314
1312
1315
// Append a duplicate entry with a single records at the tail of the log. This should return the appendInfo of the original entry.
0 commit comments