Comments (7)
We have that exact same error with bookkeeper's autorecovery.
from pulsar.
@merlimat do you know if this is normal?
from pulsar.
@sschepens @estebangarcia How did you enabled the auto-recovery?
There are a couple of ways to run the replication workers:
- In the same JVM process as the bookies
autoRecoveryDaemonEnabled=true
inconf/bookkeeper.conf
- As a separate process running either on every bookie, or just in a few VMs. It can be started with
bin/bookkeeper autorecovery
In both cases, the replication workers will watch for bookies that are not available and will
trigger the copy of all data that was stored in the bookie (from another available replica).
You can check the status of under-replicated ledgers with :
bin/bookkeeper shell listunderreplicated
For errors in broker logs, that is somewhat expected, if the ledgers are still under-replicated the client is trying to read them from the failed bookie. Though, even when data is already replicated, the BK client might not see the metadata change unless there is a read-error, so it can be printing a bit of error logs.
We still have the pending task to backport a patch from Twitter branch to include read sequence reordering. That would make the client to first try to read from bookies that are marked available in ZK,
from pulsar.
We did run separate autorecovery processes using bin/bookkeeper autorecovery
but the failed consistently with connection errors to the failed broker.
We also saw a lot of underreplicated ledgers, but the autorecovery processes never managed to empty it, because they failed connecting to the failed broker, which makes little sense.
from pulsar.
I don't know if that's the case, though the auto-recovery workers to be running when you shutdown the bookie, otherwise they won't notice the unavailable bookie.
There is later a full check for under-replicated ledgers that runs once a day.
from pulsar.
@sschepens is this still an issue?
from pulsar.
Closing due to lack of activity.
from pulsar.
Related Issues (20)
- Producers for geo-replication should be excluded from the `publishers` field of topic stats
- I understand that unsupported versions don't get bug fixes. I will attempt to reproduce the issue on a supported version of Pulsar client and Pulsar broker.
- Flaky-test: NamespaceAuthZTest.testPermission HOT 3
- [Bug] [branch-3.0] The test SimpleProducerConsumerTest.testAccessAvroSchemaMetadata always fails HOT 1
- [Bug] Partitioned topic deletion by topic GC HOT 3
- [Bug] [ml] Incorrect behavior of Topic Retention Policy HOT 8
- backlog quota exceed limit generates lot of logs within short period of time
- [Bug] /metrics endpoint processes requests one-by-one and seems to queue up waiting requests infinitely, ignoring the request timeout HOT 13
- [Bug] We are leaving old releases in the ASF distribution area. Please cleanup. HOT 2
- [pulsar] pulsar standalone to have embedded zookeeper HOT 1
- Add topic name to emitted error messages
- [Bug] pulsar standalaone won't start : NotEnoughBookiesException: Not enough non-faulty bookies available HOT 1
- [improve] Parse the XFF header to get real client IP when behind reverse proxy HOT 1
- [Bug] ClassNotFoundException error occurred when using Function development in the kubernetes cluster HOT 1
- Topic creation not working properly HOT 21
- Consumer able to receive message which is not matching the regex pattern HOT 9
- [Bug] Broker is not blocking the dispatch even after reaching max unack-message limit per subscription
- [Bug] Cannot build on Apple Arm HOT 1
- PostgreSQL sink connector doesn't persist message to table HOT 2
- Cleanup synchronous call in resources component HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pulsar.