You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pulsar.apache.org by Tecno Brain <ce...@gmail.com> on 2022/03/21 15:13:22 UTC
BadVersionException
Hello
I am using Pulsar 2.8.0
My application suddenly stopped processing messages, tries to reconnect but
keeps getting errors about BadVersion.
We unloaded the topic and the application restarted processing messages.
(The application did not need to be restarted).
Any idea what causes this? How to prevent it?
Thank you.
-Jorge
[persistent://tenant/namespace/mytopic-partition-2]
[platform_persistent://tenant/namespace/mytopic] Could not get connection
to broker: java.util.concurrent.CompletionException:
org.apache.pulsar.broker.service.BrokerServiceException$PersistenceException:
org.apache.bookkeeper.mledger.ManagedLedgerException$BadVersionException:
org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException:
org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode =
BadVersion for
/managed-ledgers/tenant/namespace/persistent/my-topic-partition-2/platform_persistent%3A%2F%2Ftenant%2Fnamespace%2Fmytopic
-- Will try again in 0.1 s
Re: BadVersionException
Posted by PengHui Li <pe...@apache.org>.
Hi Jorge
Looks like no related fixes about this part.
Could you please help create a Github issue and provide the
log file of the broker(the issue topic owner), and it's better to have
the Zookeeper server logs. So that we can help to check more details.
Thanks,
Penghui
On Mon, Mar 21, 2022 at 11:29 PM Tecno Brain <ce...@gmail.com>
wrote:
> A little bit more info:
> The topic is partitioned, 3 partitions.
> The backlog quota is set to 50h
> The TTL is set to 48h.
>
> This is the second time that we observe this error. The application reads
> from 5 different topics, but only one topic has been affected twice.
> This is the topic with the highest traffic processed by the same
> application. (Yet, our app is not really data intensive when compared to
> other use cases, it process less than 1 million events per hour)
>
>
>
>
>
>
> On Mon, Mar 21, 2022 at 8:13 AM Tecno Brain <ce...@gmail.com>
> wrote:
>
>>
>> Hello
>> I am using Pulsar 2.8.0
>> My application suddenly stopped processing messages, tries to reconnect
>> but keeps getting errors about BadVersion.
>>
>> We unloaded the topic and the application restarted processing messages.
>> (The application did not need to be restarted).
>>
>> Any idea what causes this? How to prevent it?
>>
>> Thank you.
>>
>> -Jorge
>>
>> [persistent://tenant/namespace/mytopic-partition-2]
>> [platform_persistent://tenant/namespace/mytopic] Could not get connection
>> to broker: java.util.concurrent.CompletionException:
>> org.apache.pulsar.broker.service.BrokerServiceException$PersistenceException:
>> org.apache.bookkeeper.mledger.ManagedLedgerException$BadVersionException:
>> org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException:
>> org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode =
>> BadVersion for
>> /managed-ledgers/tenant/namespace/persistent/my-topic-partition-2/platform_persistent%3A%2F%2Ftenant%2Fnamespace%2Fmytopic
>> -- Will try again in 0.1 s
>>
>
Re: BadVersionException
Posted by Tecno Brain <ce...@gmail.com>.
A little bit more info:
The topic is partitioned, 3 partitions.
The backlog quota is set to 50h
The TTL is set to 48h.
This is the second time that we observe this error. The application reads
from 5 different topics, but only one topic has been affected twice.
This is the topic with the highest traffic processed by the same
application. (Yet, our app is not really data intensive when compared to
other use cases, it process less than 1 million events per hour)
On Mon, Mar 21, 2022 at 8:13 AM Tecno Brain <ce...@gmail.com>
wrote:
>
> Hello
> I am using Pulsar 2.8.0
> My application suddenly stopped processing messages, tries to reconnect
> but keeps getting errors about BadVersion.
>
> We unloaded the topic and the application restarted processing messages.
> (The application did not need to be restarted).
>
> Any idea what causes this? How to prevent it?
>
> Thank you.
>
> -Jorge
>
> [persistent://tenant/namespace/mytopic-partition-2]
> [platform_persistent://tenant/namespace/mytopic] Could not get connection
> to broker: java.util.concurrent.CompletionException:
> org.apache.pulsar.broker.service.BrokerServiceException$PersistenceException:
> org.apache.bookkeeper.mledger.ManagedLedgerException$BadVersionException:
> org.apache.pulsar.metadata.api.MetadataStoreException$BadVersionException:
> org.apache.zookeeper.KeeperException$BadVersionException: KeeperErrorCode =
> BadVersion for
> /managed-ledgers/tenant/namespace/persistent/my-topic-partition-2/platform_persistent%3A%2F%2Ftenant%2Fnamespace%2Fmytopic
> -- Will try again in 0.1 s
>