Skip to content

Conversation

@blinkov
Copy link
Member

@blinkov blinkov commented May 23, 2024

With the current limit it is not possible to properly restart a minimal 8 or 9 nodes cluster as taking out even one node will lead to more than 10% of the cluster being down.

Example error:

May 23 08:46:16 static-node-3 ydbd[5559]: 2024-05-23T08:46:16.186419Z :CMS NOTICE: [AuditLog] [CMS tablet] Reply: request# NKikimr::NCms::TEvCms::TEvCheckRequest { User: "root" RequestId: "root-r-1" AvailabilityMode: MODE_MAX_AVAILABILITY }, response# NKikimr::NCms::TEvCms::TEvPermissionResponse { Status { Code: DISALLOW_TEMP Reason: "Cannot lock node \'5\' of tenant \'/Root\': too many unavailable nodes. Locked: 1, down: 0, total: 9, limit: 10%" } RequestId: "root-r-1" Deadline: 1716454276175013 }

Changelog category

  • Not for changelog (changelog entry is not required)

With the current limit it is not possible to properly restart a minimal 8 or 9 nodes cluster as taking out even one node will lead to more than 10% of the cluster being down.

Example error:
```
May 23 08:46:16 static-node-3 ydbd[5559]: 2024-05-23T08:46:16.186419Z :CMS NOTICE: [AuditLog] [CMS tablet] Reply: request# NKikimr::NCms::TEvCms::TEvCheckRequest { User: "root" RequestId: "root-r-1" AvailabilityMode: MODE_MAX_AVAILABILITY }, response# NKikimr::NCms::TEvCms::TEvPermissionResponse { Status { Code: DISALLOW_TEMP Reason: "Cannot lock node \'5\' of tenant \'/Root\': too many unavailable nodes. Locked: 1, down: 0, total: 9, limit: 10%" } RequestId: "root-r-1" Deadline: 1716454276175013 }
```
@github-actions
Copy link

github-actions bot commented May 23, 2024

2024-05-23 09:00:52 UTC Pre-commit check for fa1a5c6 has started.
2024-05-23 09:00:54 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-23 09:40:09 UTC Build successful.
2024-05-23 09:42:02 UTC Tests are running...
🔴 2024-05-23 11:37:50 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10681 10617 0 21 29 14

@github-actions
Copy link

github-actions bot commented May 23, 2024

2024-05-23 09:02:18 UTC Pre-commit check for fa1a5c6 has started.
2024-05-23 09:02:20 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-23 09:39:56 UTC Build successful.

@github-actions
Copy link

github-actions bot commented May 23, 2024

2024-05-23 09:02:47 UTC Pre-commit check for fa1a5c6 has started.
2024-05-23 09:02:48 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-23 09:40:25 UTC Build successful.
2024-05-23 09:42:02 UTC Tests are running...
🔴 2024-05-23 11:18:42 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38153 33357 0 2 4785 9

CyberROFL
CyberROFL previously approved these changes May 23, 2024
Copy link
Member

@pixcc pixcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@blinkov blinkov requested a review from a team as a code owner May 24, 2024 02:34
@blinkov blinkov enabled auto-merge (squash) May 24, 2024 02:35
@blinkov
Copy link
Member Author

blinkov commented May 24, 2024

@pixcc done

@github-actions
Copy link

github-actions bot commented May 24, 2024

2024-05-24 02:37:25 UTC Pre-commit check for 199dca0 has started.
2024-05-24 02:40:12 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-05-24 03:16:05 UTC Build successful.

@github-actions
Copy link

github-actions bot commented May 24, 2024

2024-05-24 02:38:13 UTC Pre-commit check for 199dca0 has started.
2024-05-24 02:41:04 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-05-24 03:20:27 UTC Build successful.
2024-05-24 03:20:44 UTC Tests are running...
🔴 2024-05-24 04:58:22 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38310 33510 0 5 4788 7

@github-actions
Copy link

github-actions bot commented May 24, 2024

2024-05-24 02:38:30 UTC Pre-commit check for 199dca0 has started.
2024-05-24 02:41:22 UTC Build linux-x86_64-release-asan is running...
🟢 2024-05-24 03:20:33 UTC Build successful.
2024-05-24 03:20:45 UTC Tests are running...
🔴 2024-05-24 05:24:06 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10842 10768 0 34 31 9

@github-actions
Copy link

✅ Documentation build

Revision built successfully
Revision preview link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants