Yangsx-1 opened a new pull request, #2153: URL: https://github.com/apache/kvrocks/pull/2153
The function RangeWithPending needs to fetch the newset data of consumer group metadata, or it will exist a bug. For example, a consumer group is empty with no consumer and function RangeWithPending will create a consumer for it when necessary. But we've fetched the group's metadata before creating the consumer, if we don't get the newest data the group metadata we write later will be wrong. The prefetched data's consumer number is 0, the newest data's consumer number is 1, we'll write 0 back if we don't fetch the newest data which leads to a wrong number of consumer. -- 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]
