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

Always respond with E_REJECT when killing a volume tablet actor #1988

Merged
merged 4 commits into from
Oct 21, 2024

Conversation

drbasic
Copy link
Collaborator

@drbasic drbasic commented Sep 10, 2024

Раньше не всегда запросы, которые отправлялись в партишен, сохранялись в акторе вольюма в векторе VolumeRequests. Это работало только если паришен был один, и не происходило отслеживание записанных блоков.

Сейчас сохранение происходит во всех случаях. А значит, если таблетка вольюма умирает, то и E_REJECTED будет отправляться всегда https://github.com/ydb-platform/nbs/blob/main/cloud/blockstore/libs/storage/volume/volume_actor.cpp#L531

Поведение стало консистентным.

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit b7d8ab2.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5747 5744 0 0 1 2

@drbasic drbasic force-pushed the users/drbasic/save-all-partition-requests branch from b7d8ab2 to 757227e Compare September 18, 2024 10:53
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 757227e.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
5793 5793 0 0 0 0

@drbasic drbasic added large-tests Launch large tests for PR blockstore Add this label to run only cloud/blockstore build and tests on PR asan Launch builds with address sanitizer along with regular build labels Sep 19, 2024
@drbasic drbasic force-pushed the users/drbasic/save-all-partition-requests branch 2 times, most recently from 4be0511 to f3b10ca Compare September 19, 2024 08:24
@drbasic drbasic changed the title Save all partition requests info in VolumeRequests Always respond with E_REJECT when killing a volume tablet actor Sep 19, 2024
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit f3b10ca.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3459 3459 0 0 0 0

@drbasic drbasic force-pushed the users/drbasic/save-all-partition-requests branch from f3b10ca to b21ae83 Compare October 18, 2024 05:03
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-release-asan: all tests PASSED for commit b21ae83.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3217 3217 0 0 0 0

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-release-asan: all tests PASSED for commit b21ae83.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3217 3217 0 0 0 0

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit b21ae83.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3509 3509 0 0 0 0

Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-release-asan: all tests PASSED for commit 709483d.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3217 3217 0 0 0 0

@drbasic drbasic requested a review from qkrorlqr October 21, 2024 07:54
Copy link
Contributor

Note

This is an automated comment that will be appended during run.

🟢 linux-x86_64-release-asan: all tests PASSED for commit 709483d.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3217 3217 0 0 0 0

🟢 linux-x86_64-relwithdebinfo: all tests PASSED for commit 709483d.

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
3509 3509 0 0 0 0

@drbasic drbasic merged commit bc12346 into main Oct 21, 2024
14 of 16 checks passed
@drbasic drbasic deleted the users/drbasic/save-all-partition-requests branch October 21, 2024 08:47
drbasic added a commit that referenced this pull request Oct 24, 2024
* Save all partition requests info in VolumeRequests

* Test

* Fix review issues

* Small improvements
drbasic added a commit that referenced this pull request Oct 25, 2024
* Save all partition requests info in VolumeRequests

* Test

* Fix review issues

* Small improvements
drbasic added a commit that referenced this pull request Oct 25, 2024
* Replace TString methods Data() -> data(), Size() -> size(), Empty() -> empty() (#2324)

* Always respond with E_REJECT when killing a volume tablet actor (#1988)

* Save all partition requests info in VolumeRequests

* Test

* Fix review issues

* Small improvements

* :Qget rid of some arcadia string functions (#2257)

* get rid of some arcadia string functions

* update

* Fix TString methods (#2343)

---------

Co-authored-by: yegorskii <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
asan Launch builds with address sanitizer along with regular build blockstore Add this label to run only cloud/blockstore build and tests on PR large-tests Launch large tests for PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants