massakam opened a new pull request #5193: [pulsar-broker] Make some member variables of Dispatcher
volatile
URL: https://github.com/apache/pulsar/pull/5193
Some of the variables of the `Dispatcher` classes seem to should be volatile, so I fixed
them. For example, the variable `havePendingRead` is corrently volatile in `PersistentDispatcherSingleActiveConsumer`
but not in` PersistentDispatcherMultipleConsumers`.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services
|