-
Notifications
You must be signed in to change notification settings - Fork 23
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
Issue 2542: add message to stop DR based partition before volume destruction #2863
base: main
Are you sure you want to change the base?
Conversation
Hi! Thank you for contributing! |
cloud/blockstore/libs/storage/volume/volume_actor_startstop.cpp
Outdated
Show resolved
Hide resolved
LOG_ERROR( | ||
ctx, | ||
TBlockStoreComponents::VOLUME, | ||
"[%lu] StopPartionBeforeVolumeDestruction req was send to not DR " |
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.
Не стоит сокращать так сильно: req -> request.
Ну и лучше от отрицания избавиться, типа так:
"Only DR based volumes can handle StopPartionBeforeVolumeDestruction messages"
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.
сокращение поправил, но сообщение "Only DR based volumes can handle StopPartionBeforeVolumeDestruction messages" выглядит немного странно, в лог же надо писать что происходит, а не "такое сообщение не поддерживается"
cloud/blockstore/libs/storage/volume/volume_actor_startstop.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/volume/volume_actor_startstop.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_destroy.cpp
Outdated
Show resolved
Hide resolved
cloud/blockstore/libs/storage/service/service_actor_destroy.cpp
Outdated
Show resolved
Hide resolved
const TEvVolume::TEvStopPartitionBeforeVolumeDestructionResponse::TPtr& ev, | ||
const TActorContext& ctx) | ||
{ | ||
Y_UNUSED(ev); |
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.
Ошибки проверять/ретраить запрос не надо?
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.
добавил обработку ошибки, в целом этот актор никак не ретраит/обрабатывает таймауты и undelivery, добавил один большой таймаут на весь актор
11b0ec6
to
ce82bbb
Compare
Тесты кажется упали |
008ded4
to
84ba6e1
Compare
#2542