-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Functions metadata compaction #7377
Merged
srkukarni
merged 39 commits into
apache:master
from
srkukarni:functions_metadata_compaction
Jul 1, 2020
Merged
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
bf11f0c
Function workers re-direct call update requests to the leader
691d054
Fixed test
cfb203d
tests pass
f814544
Working version
b0a7f28
Fix test
e612318
Merge remote-tracking branch 'apache/master' into functions_leader_ex…
ea53753
Merge branch 'master' into functions_leader_executor
c02274a
Short circuit update
93c54e1
Fix test
fd8766e
Fix test
b5b1752
Fix tests
d3403c7
Added one more catch
cc3646e
Added one more catch
6b8d6d2
Seperated internal and external errors
aeb51ca
Fix test
527aea2
Address feedback
dcc4cd2
Do not expose updateOnLeader to functions
f8f2d34
hide api
476b692
hide api
ad73099
Merge branch 'master' into functions_leader_executor
acd999f
removed duplicate comments
a256bc9
Do leadership changes in function metadata manager
8fc89c3
make the function sync
6f21176
Added more comments
f381eee
Merge branch 'master' into functions_leader_executor
43eaf86
Throw error
c28e122
Changed name
fb86d0a
address comments
a61e674
Deleted unused classes
d719626
Rework metadata manager
3b824e9
Working
c5328d1
Fix test
abed1f7
A better way for test
7bb5bc0
Address feedback
25f0c67
Merge branch 'master' into functions_metadata_compaction
62ea750
Merge branch 'master' into functions_metadata_compaction
198aca2
Added an option to compact function metadata topic
a84866d
Address feedback
be0936f
Incorporate feedback
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 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 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 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 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 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 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
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.
Should we change this check to if a key exists or not? This creates an avenue in which a existing cluster can transition to use a compacted metadata topic
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 don't think thats a good idea. I would rather have worker fail here unless specifically configured to have compaction enabled or disabled.