Repository navigation
BP-41 BookieId - client side implementation #2404
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
b1e3524
BP-41 client side implementation
eolivelli ae70d45
continue work
daf0d95
other changes
2d6ef74
fix build
6e70bcf
fix build
e283771
fix dlog
597b0ee
use BookieId
b528887
more
03cb283
more
9366794
fix build
eolivelli 028793a
fix checkstyle
eolivelli 98cabb2
fix BookKeeper init
eolivelli 4298263
fix getBookieId
eolivelli d587eba
fix build
eolivelli 55efe46
more checkstyle
eolivelli d468a1b
more checkstyle
eolivelli 91e8616
more checkstyle
eolivelli 5cb9f7a
more checkstyle
eolivelli 91af731
more checkstyle
eolivelli 27e0c93
more checkstyle
eolivelli 3ce268c
remove file
eolivelli d7382fe
add config
eolivelli c256f98
Fix connection to down bookie
eolivelli 206836b
temporary fixes
eolivelli 6ddd579
more fixes and add debug
eolivelli 1cd1bf5
Merge remote-tracking branch 'origin/master' into bp-41-bookieid-impl
eolivelli 5e17020
fix tests, add BookieId validation
eolivelli 39c8936
Fix more tests
eolivelli 6429f91
try resolve deadlock
eolivelli af90119
cache eagerly bookieinfo
eolivelli 169a160
populate cache correctly
eolivelli 8baabfa
fix fallback logic
eolivelli df00ab8
fix test
eolivelli 2fc0cad
fix checkstyle
eolivelli 9944032
drop final qualifier
eolivelli 77019e4
rerunFailingTestsCount
eolivelli 9dddd2b
fix more tests
eolivelli 2acff70
fix tests
eolivelli d9ae2af
fix more tests
eolivelli 92f96aa
fix test
eolivelli d8ce265
use legacy resolver only for dummy nodes
eolivelli 5b51d57
fix a couple of tests
eolivelli dc25ba7
remove useless code
eolivelli 0c729e2
fix checkstyle
eolivelli c4de07b
Rename class
eolivelli d244b7f
drop useless class
eolivelli 59817ad
more clean up
eolivelli a3bd16b
reserve 'readonly' bookieId
eolivelli File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is good. I am just wondering the real usecase behind this. Do you expect your bookies to change the ip and nodenames ? We had this requirement earlier when we moved to k8s where ip addresses could change, but we worked around by keeping all clients and bookies in the same k8s cluster where the node names are constant.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jvrao primary use cases are:
see https://github.com/apache/bookkeeper/blob/master/site/bps/BP-41-bookieid.md for more details
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recalled that, user from puslar side reported same requirements, they want to change a hostname/ip for a bookie