wuYin commented on a change in pull request #579:
URL: https://github.com/apache/pulsar-client-go/pull/579#discussion_r680040665



##########
File path: pulsar/producer_impl.go
##########
@@ -177,7 +177,14 @@ func (p *producer) internalCreatePartitionsProducers() 
error {
 
        if oldProducers != nil {
                oldNumPartitions = len(oldProducers)
-               if oldNumPartitions == newNumPartitions {
+               if newNumPartitions < oldNumPartitions {

Review comment:
       Thank you for reply.
   - There is no forced topic deletion or other admin operations this day.
   - 
[brokerDeleteInactiveTopicsEnabled](https://github.com/apache/pulsar/blob/master/conf/broker.conf#L156)
 has configured as false.
   - proxy and broker logs were checked, and there is not much valuable 
information, most is INFO level messages.
   - only 20% producers has this error, it's weird.
   
   maybe there is a concurrency issue in broker ownership cache that leads to 
data corruption?
   
   In fact, client no need to do this detection, but the server needs to locate 
and solve the decrease problem.




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