Demogorgon314 opened a new pull request, #21091:
URL: https://github.com/apache/pulsar/pull/21091

   ### Motivation
   
   Currently, the `ServiceUnitStateChannelImpl` will send batch messages to 
`loadbalancer-service-unit-state` topic,
   and the `StrategicTwoPhaseCompactor` will consume the message and rebatch 
the message to a new batch.
   
   However, the `StrategicTwoPhaseCompactor` may write messages from the same 
batch into different entries, which will result in skipping some messages when 
reading compacted entries.
   
   ### Modifications
   
   * Disable batching when writing message to `loadbalancer-service-unit-state` 
topic.
   
   ### Documentation
   
   <!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
   
   - [ ] `doc` <!-- Your PR contains doc changes. -->
   - [ ] `doc-required` <!-- Your PR changes impact docs and you will update 
later -->
   - [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
   - [ ] `doc-complete` <!-- Docs have been already added -->


-- 
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]

Reply via email to