You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@bookkeeper.apache.org by GitBox <gi...@apache.org> on 2018/08/03 04:31:27 UTC
[GitHub] jvrao opened a new issue #1579: Write Ledger Handle doesn't listen
to metadata changes
jvrao opened a new issue #1579: Write Ledger Handle doesn't listen to metadata changes
URL: https://github.com/apache/bookkeeper/issues/1579
**BUG REPORT**
1. Please describe the issue you observed:
The writer owns the metadata of the current ensemble only.
Previous ensemble segments of the same ledger can freely be modified
by the replication worker.
In the current code, write ledger handle, which allows reads also
are blindsided by the non-disruptive ensemble changes performed
by the replication worker. This could potentially direct readers
to a wrong destination, leading to unsuccessful reads.
Fix this problem by placing a watcher on the zk node just like
readOnlyLedgerHandle. When new metadata is received take the
older (non-current) ensemble segment information and version
number from the new metadata.
**BP**
This is the master ticket for tracking BP-<bp-number> :
[a short description for this BP]
Proposal PR - #<pr-number>
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services