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

[NBS] REMOVE_DEVICE should delete devices from DR and DA cache #1560

Open
komarevtsev-d opened this issue Jul 8, 2024 · 0 comments
Open
Assignees
Labels
blockstore Add this label to run only cloud/blockstore build and tests on PR

Comments

@komarevtsev-d
Copy link
Collaborator

Like with the REMOVE_HOST (#1388), we do not want to keep old devices in the DR. But there is another problem with the DA config cache. If the devices configuration changes after the disk is reinstalled, DA will apply the old cached configuration instead of a new one.
To solve this problem, we need to erase old devices from the cache and save the removed path. It will guarantee that DA will not generate removed cache, e. g. on release.
While DA sees the removed path, it will not persist such devices in the cache but will register in the DR as usual.

@komarevtsev-d komarevtsev-d self-assigned this Jul 8, 2024
@komarevtsev-d komarevtsev-d added the blockstore Add this label to run only cloud/blockstore build and tests on PR label Jul 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blockstore Add this label to run only cloud/blockstore build and tests on PR
Projects
None yet
Development

No branches or pull requests

1 participant