tomighita commented on code in PR #2879:
URL: https://github.com/apache/iggy/pull/2879#discussion_r2891011529
##########
core/server/src/shard/system/messages.rs:
##########
@@ -356,6 +356,10 @@ impl IggyShard {
)
.await;
+ if batch.count() == 0 {
+ return Ok(());
+ }
+
Review Comment:
[note] This was causing a bug when all the messages were with duplicate IDs
because the batch was empty and we unwraped on first
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]