Oneby

Results 18 comments of Oneby

Could you please provide more logs between Oct 18 06:31:14 and Oct 18 06:36:14? Seems persistent://ourtenant/ourapp/ourapp.v1.725feb06-ab85-11f0-9600-c297ef652e75-partition-1 and persistent://ourtenant/ourapp/ourapp.v1.725feb06-ab85-11f0-9600-c297ef652e75-partition-5 were fired nearly at the same time, and partition-topic deletion operations were...

> Does the GC process also use the admin api? Yes, after I read through the code, I found the partitioned-topic deletion is fired by admin api. If all partitions...

Try to add the following configs in broker.conf file, and see if this problem can be solved? 1. add `brokerClient_connectionsPerBroker=0`(Unpooled). 2. add `brokerClient_connectionsPerBroker=n`, n is larger than your max partitions.

> On partitions that didn't get any data, those topics are deleted right after the subscriptions are removed. You mean partitioned-topic with just one partition or non-partitioned topic? After my...

> Do you have a suggestion about `brokerClient_connectionsPerBroker`? My suggestion: 1. `brokerClient_connectionsPerBroker=0` is ok if you are not so care about performance. I read through the code and find adminClient...

EDIT: sorry for misleading, just forget what I said before in this comment(that was wrong). Did you set `brokerClient_connectionsPerBroker=15`? Please check this config(can find in logs when broker starts up)....

In my opinion, if there are m partitions across partitioned-topics calling the delete partitioned-topic admin api simultaneously(not only race condition, but across multi topics), you need to config `brokerClient_connectionsPerBroker >...

Hi, @darinspivey, recently, I re-read the creation code of `PulsarAdminImpl` in `PulsarService`. https://github.com/apache/pulsar/blob/9d8bf601749d465e2394a1a0db96bfe6b70d13a5/pulsar-broker/src/main/java/org/apache/pulsar/broker/PulsarService.java#L1813-L1823 The default value of `connectionsPerBroker` is 16. https://github.com/apache/pulsar/blob/1ca17972459095278e2b5f7ed7fd55c8921d8826/pulsar-client-admin/src/main/java/org/apache/pulsar/client/admin/internal/PulsarAdminBuilderImpl.java#L48-L51 Our earlier discussions might have had some misleading points....

> Actually, I have now set the value to 0 to not do pooling at all and I had verified that at some point. That is the change that seemed...

Hi, @lhotari are you working on this? If this issue is not assigned, I would like to help fix this.