torwig commented on PR #1345: URL: https://github.com/apache/incubator-kvrocks/pull/1345#issuecomment-1479898875
@git-hulk Thanks for your work. `SETID` is intended for things like replication (I can say it is an internal command) to set the values of last_added_id, entries_added, max_deleted_id. I used it as the last command in slot migration to update the stream's metadata, because with the `XADD` you can't migrate last_added_id, entries_added and max_deleted_id, because it actually just adds entries but not deletes 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]
