FenjuFu commented on code in PR #4357:
URL: https://github.com/apache/iggy/pull/4357#discussion_r4216342096
##########
foreign/python/src/client.rs:
##########
@@ -1098,6 +1098,52 @@ impl IggyClient {
})
}
+ /// Delete the oldest sealed segments of a partition, including all
messages
+ /// stored in them. The active segment is never deleted, and deletion
stops at
+ /// the lowest offset any consumer or consumer group has committed on the
+ /// partition, so fewer than `segments_count` segments may be removed.
Review Comment:
Updated the docstring and the stub: a call held back by a committed consumer
offset removes the remaining segments later, up to the requested count, as
consumers commit past them.
--
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]