Skip to content
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

improvement to zstor behaviors when some meta backends down #127

Open
3 of 7 tasks
iwanbk opened this issue Nov 14, 2024 · 6 comments
Open
3 of 7 tasks

improvement to zstor behaviors when some meta backends down #127

iwanbk opened this issue Nov 14, 2024 · 6 comments
Assignees

Comments

@iwanbk
Copy link
Member

iwanbk commented Nov 14, 2024

Based on #123 discussion, i want to do full check & improvements (if needed) regarding the behavior when some of the meta backends down

@iwanbk
Copy link
Member Author

iwanbk commented Nov 14, 2024

Hi @LeeSmet
What is the plan for ReplaceBackends at

struct ReplaceBackends;

I can see the Handler, but it is not called at all

@LeeSmet
Copy link
Contributor

LeeSmet commented Nov 14, 2024

That's a leftover from old functionality. A long time ago there was functionality to automatically replace backends if they were full/failed. Since the feature was not used and caused a lot of complexity for maintenance, it was removed. The handler is an artifact that wasn't removed properly. If you want it can be removed.

@iwanbk
Copy link
Member Author

iwanbk commented Nov 18, 2024

The handler is an artifact that wasn't removed properly. If you want it can be removed.

OK, i'll keep it for now as reference.

@iwanbk
Copy link
Member Author

iwanbk commented Nov 19, 2024

zstor retrieve must work if there are >= 2 available meta backends

tested on both master and #129

@iwanbk
Copy link
Member Author

iwanbk commented Nov 19, 2024

check ReplaceMetaStore behavior

also fixed on #129
By adding writeable flag in the message

@iwanbk
Copy link
Member Author

iwanbk commented Nov 19, 2024

reload zstor config using SIGUSR1 must update the meta backends properly

also fixed on #129.

By re-creating the metastore when there is change in the meta zdb backends

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants