Skip to content

Fix lock in Immediate Control Board #5290 #5289

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

Merged
merged 1 commit into from
Jul 24, 2024

Conversation

the-ancient-1
Copy link
Member

Changelog entry

Do not use write lock in ICB when read lock is enough. Use swap to prevent read-check-write races.

Changelog category

  • Bugfix

Additional information

This may fix some latency issues.

@github-actions github-actions bot added the bugfix label Jun 6, 2024
@the-ancient-1 the-ancient-1 requested a review from va-kuznecov June 6, 2024 13:22
@the-ancient-1 the-ancient-1 changed the title Fix lock in Immediate Control Board Fix lock in Immediate Control Board #5290 Jun 6, 2024
Copy link

github-actions bot commented Jun 6, 2024

2024-06-06 14:08:46 UTC Pre-commit check for 178e007 has started.
2024-06-06 14:11:24 UTC Build linux-x86_64-release-clang14 is running...
🟢 2024-06-06 14:44:42 UTC Build successful.

Copy link

github-actions bot commented Jun 6, 2024

2024-06-06 14:10:13 UTC Pre-commit check for 178e007 has started.
2024-06-06 14:13:00 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-06-06 14:53:10 UTC Build successful.
2024-06-06 14:53:24 UTC Tests are running...
🔴 2024-06-06 16:28:59 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
38636 33779 0 11 4837 9

Copy link

github-actions bot commented Jun 6, 2024

2024-06-06 14:14:29 UTC Pre-commit check for 178e007 has started.
2024-06-06 14:17:18 UTC Build linux-x86_64-release-asan is running...
🟢 2024-06-06 14:57:46 UTC Build successful.
2024-06-06 14:57:56 UTC Tests are running...
🔴 2024-06-06 16:56:02 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
10911 10830 0 36 30 15

Copy link

github-actions bot commented Jul 23, 2024

2024-07-23 17:48:24 UTC Pre-commit check for 95b0aef has started.
2024-07-23 17:51:23 UTC Build+Tests linux-x86_64-release-clang14 is running...
🟢 2024-07-23 18:27:48 UTC Build successful.

Copy link

github-actions bot commented Jul 23, 2024

2024-07-23 17:49:14 UTC Pre-commit check for 95b0aef has started.
2024-07-23 17:52:18 UTC Build+Tests linux-x86_64-relwithdebinfo is running...
🟢 2024-07-23 20:06:24 UTC Build successful.
🔴 2024-07-23 20:10:53 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
39745 34452 0 2 5278 13

🟢 2024-07-23 20:11:35 UTC ydbd size 8.1 GiB changed* by -7.8 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: abe4d5b merge: 95b0aef diff diff %
ydbd size 8 652 686 752 Bytes 8 652 678 744 Bytes -7.8 KiB -0.000%
ydbd stripped size 471 059 936 Bytes 471 059 936 Bytes 0 Bytes 0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

Copy link

github-actions bot commented Jul 23, 2024

2024-07-23 17:50:06 UTC Pre-commit check for 95b0aef has started.
2024-07-23 17:53:08 UTC Build+Tests linux-x86_64-release-asan is running...
🟢 2024-07-23 20:35:44 UTC Build successful.
🔴 2024-07-23 20:38:27 UTC Some tests failed, follow the links below.

Test history | Ya make output

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11060 10454 0 105 327 174

🟢 2024-07-23 20:39:24 UTC ydbd size 5.2 GiB changed* by +8.0 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: abe4d5b merge: 95b0aef diff diff %
ydbd size 5 556 151 216 Bytes 5 556 159 440 Bytes +8.0 KiB +0.000%
ydbd stripped size 1 196 797 904 Bytes 1 196 797 840 Bytes -64 Bytes -0.000%

*please be aware that the difference is based on comparing your commit and the last completed build from the post-commit, check comparation

@the-ancient-1 the-ancient-1 enabled auto-merge (squash) July 24, 2024 15:39
@the-ancient-1 the-ancient-1 merged commit ded90c7 into ydb-platform:main Jul 24, 2024
8 of 12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants