Skip to content

Conversation

@mregrock
Copy link
Collaborator

Changelog entry

Persist config in nodewarden

Changelog category

  • Experimental feature

Additional information

...

@mregrock mregrock requested a review from a team as a code owner February 10, 2025 08:05
@mregrock mregrock requested a review from jepett0 February 10, 2025 08:05
@github-actions
Copy link

github-actions bot commented Feb 10, 2025

2025-02-10 08:08:53 UTC Pre-commit check linux-x86_64-relwithdebinfo for 21755b1 has started.
2025-02-10 08:09:06 UTC Artifacts will be uploaded here
2025-02-10 08:12:41 UTC ya make is running...
🔴 2025-02-10 08:14:45 UTC Build failed, see the logs. Also see fail summary

@github-actions
Copy link

github-actions bot commented Feb 10, 2025

2025-02-10 08:09:00 UTC Pre-commit check linux-x86_64-release-asan for 21755b1 has started.
2025-02-10 08:09:11 UTC Artifacts will be uploaded here
2025-02-10 08:12:39 UTC ya make is running...
🔴 2025-02-10 08:15:07 UTC Build failed, see the logs. Also see fail summary

@mregrock mregrock force-pushed the persist_single_config branch from 75a51ec to 153affa Compare February 11, 2025 12:29
@github-actions
Copy link

github-actions bot commented Feb 11, 2025

2025-02-11 12:30:32 UTC Pre-commit check linux-x86_64-release-asan for ceef851 has started.
2025-02-11 12:30:44 UTC Artifacts will be uploaded here
2025-02-11 12:34:03 UTC ya make is running...
🔴 2025-02-11 12:38:31 UTC Build failed, see the logs. Also see fail summary

@github-actions
Copy link

github-actions bot commented Feb 11, 2025

2025-02-11 12:33:24 UTC Pre-commit check linux-x86_64-relwithdebinfo for ceef851 has started.
2025-02-11 12:33:54 UTC Artifacts will be uploaded here
2025-02-11 12:37:35 UTC ya make is running...
🔴 2025-02-11 12:39:45 UTC Build failed, see the logs. Also see fail summary

@mregrock mregrock force-pushed the persist_single_config branch from 153affa to 36e2038 Compare February 11, 2025 20:55
@github-actions
Copy link

github-actions bot commented Feb 11, 2025

2025-02-11 20:59:23 UTC Pre-commit check linux-x86_64-relwithdebinfo for 9548d62 has started.
2025-02-11 20:59:35 UTC Artifacts will be uploaded here
2025-02-11 21:02:56 UTC ya make is running...
🔴 2025-02-11 21:07:09 UTC Build failed, see the logs. Also see fail summary

@github-actions
Copy link

github-actions bot commented Feb 11, 2025

2025-02-11 20:59:45 UTC Pre-commit check linux-x86_64-release-asan for 9548d62 has started.
2025-02-11 20:59:58 UTC Artifacts will be uploaded here
2025-02-11 21:03:19 UTC ya make is running...
🔴 2025-02-11 21:05:34 UTC Build failed, see the logs. Also see fail summary


bool TNodeWarden::SaveConfig(const TString& yaml, const TString& configFileName) {
TString tempPath = TStringBuilder() << Cfg->ConfigStorePath << "/temp_" << configFileName;
TFileOutput tempFile(tempPath);
Copy link
Collaborator

Choose a reason for hiding this comment

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

isn't it easier to do it in a single line?
TFileOutput(tempPath) << yaml; (like this)

Copy link
Collaborator

Choose a reason for hiding this comment

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

also we have to catch exceptions here, otherwise system may terminate due to uncaught one

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

В одну строчку оказывается нельзя

@mregrock mregrock force-pushed the persist_single_config branch from 36e2038 to 67ff1a6 Compare February 12, 2025 16:32
@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 16:37:21 UTC Pre-commit check linux-x86_64-relwithdebinfo for ecb16a0 has started.
2025-02-12 16:37:36 UTC Artifacts will be uploaded here
2025-02-12 16:40:54 UTC ya make is running...
2025-02-12 17:01:19 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 16:40:14 UTC Pre-commit check linux-x86_64-release-asan for ecb16a0 has started.
2025-02-12 16:41:15 UTC Artifacts will be uploaded here
2025-02-12 16:44:27 UTC ya make is running...
2025-02-12 17:01:21 UTC Check cancelled

@mregrock mregrock force-pushed the persist_single_config branch from 67ff1a6 to 3bedb30 Compare February 12, 2025 17:00
@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 17:03:21 UTC Pre-commit check linux-x86_64-relwithdebinfo for 3c05777 has started.
2025-02-12 17:03:25 UTC Artifacts will be uploaded here
2025-02-12 17:06:31 UTC ya make is running...
🔴 2025-02-12 18:31:04 UTC Too many tests failed, NOT going to retry
🔴 2025-02-12 18:32:21 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
27799 24603 0 597 2458 141

🟢 2025-02-12 18:35:30 UTC Build successful.
🟡 2025-02-12 18:35:49 UTC ydbd size 2.1 GiB changed* by +163.8 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: b9ac376 merge: 3c05777 diff diff %
ydbd size 2 228 992 368 Bytes 2 229 160 072 Bytes +163.8 KiB +0.008%
ydbd stripped size 473 267 800 Bytes 473 300 344 Bytes +31.8 KiB +0.007%

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

@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 17:04:26 UTC Pre-commit check linux-x86_64-release-asan for 3c05777 has started.
2025-02-12 17:04:55 UTC Artifacts will be uploaded here
2025-02-12 17:08:28 UTC ya make is running...
🟡 2025-02-12 18:34:02 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13557 13357 0 138 25 37

2025-02-12 18:35:39 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-02-12 18:48:58 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
279 (only retried tests) 119 0 118 9 33

2025-02-12 18:49:11 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-02-12 19:06:22 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
229 (only retried tests) 75 0 118 4 32

🟢 2025-02-12 19:06:31 UTC Build successful.
🟡 2025-02-12 19:07:04 UTC ydbd size 3.6 GiB changed* by +287.2 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: b9ac376 merge: 3c05777 diff diff %
ydbd size 3 876 050 096 Bytes 3 876 344 208 Bytes +287.2 KiB +0.008%
ydbd stripped size 1 357 316 240 Bytes 1 357 418 704 Bytes +100.1 KiB +0.008%

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

@mregrock mregrock force-pushed the persist_single_config branch from 3bedb30 to acea1cf Compare February 12, 2025 20:50
@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 20:54:13 UTC Pre-commit check linux-x86_64-relwithdebinfo for bf089f6 has started.
2025-02-12 20:54:34 UTC Artifacts will be uploaded here
2025-02-12 20:58:11 UTC ya make is running...
🟡 2025-02-12 22:30:49 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
27841 25236 0 12 2456 137

2025-02-12 22:33:13 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-02-12 22:57:38 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
223 (only retried tests) 96 0 3 0 124

2025-02-12 22:57:46 UTC ya make is running... (failed tests rerun, try 3)
🔴 2025-02-12 23:12:35 UTC Some tests failed, follow the links below.

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
187 (only retried tests) 64 0 1 0 122

🟢 2025-02-12 23:12:41 UTC Build successful.
🟡 2025-02-12 23:13:06 UTC ydbd size 2.1 GiB changed* by +174.9 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4fee494 merge: bf089f6 diff diff %
ydbd size 2 229 643 368 Bytes 2 229 822 496 Bytes +174.9 KiB +0.008%
ydbd stripped size 473 416 824 Bytes 473 454 104 Bytes +36.4 KiB +0.008%

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

@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 20:55:46 UTC Pre-commit check linux-x86_64-release-asan for bf089f6 has started.
2025-02-12 20:55:57 UTC Artifacts will be uploaded here
2025-02-12 20:59:05 UTC ya make is running...
🟡 2025-02-12 22:31:21 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13639 13559 0 29 15 36

2025-02-12 22:32:34 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-02-12 22:50:06 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
126 (only retried tests) 80 0 6 8 32

2025-02-12 22:50:14 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-02-12 23:02:04 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
80 (only retried tests) 40 0 6 3 31

🟢 2025-02-12 23:02:10 UTC Build successful.
🟡 2025-02-12 23:02:41 UTC ydbd size 3.6 GiB changed* by +292.6 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 4fee494 merge: bf089f6 diff diff %
ydbd size 3 877 254 904 Bytes 3 877 554 504 Bytes +292.6 KiB +0.008%
ydbd stripped size 1 357 840 288 Bytes 1 357 941 152 Bytes +98.5 KiB +0.007%

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

@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 23:39:24 UTC Pre-commit check linux-x86_64-release-asan for 0f81c5b has started.
2025-02-12 23:39:37 UTC Artifacts will be uploaded here
2025-02-12 23:42:56 UTC ya make is running...
🟡 2025-02-13 01:04:25 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13639 13563 0 23 17 36

2025-02-13 01:05:36 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-02-13 01:24:44 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
116 (only retried tests) 73 0 6 6 31

2025-02-13 01:24:53 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-02-13 01:36:39 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
74 (only retried tests) 34 0 4 5 31

🟢 2025-02-13 01:36:46 UTC Build successful.
🟡 2025-02-13 01:37:18 UTC ydbd size 3.6 GiB changed* by +295.8 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: b23b0fb merge: 0f81c5b diff diff %
ydbd size 3 878 215 456 Bytes 3 878 518 400 Bytes +295.8 KiB +0.008%
ydbd stripped size 1 358 239 424 Bytes 1 358 341 504 Bytes +99.7 KiB +0.008%

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

@github-actions
Copy link

github-actions bot commented Feb 12, 2025

2025-02-12 23:41:49 UTC Pre-commit check linux-x86_64-relwithdebinfo for 0f81c5b has started.
2025-02-12 23:42:01 UTC Artifacts will be uploaded here
2025-02-12 23:45:11 UTC ya make is running...
🟡 2025-02-13 00:57:00 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
27841 25249 0 2 2455 135

2025-02-13 00:59:20 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-02-13 01:17:13 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
205 (only retried tests) 77 0 0 0 128

🟢 2025-02-13 01:17:20 UTC Build successful.
🟡 2025-02-13 01:17:42 UTC ydbd size 2.1 GiB changed* by +173.4 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: b23b0fb merge: 0f81c5b diff diff %
ydbd size 2 229 949 856 Bytes 2 230 127 392 Bytes +173.4 KiB +0.008%
ydbd stripped size 473 416 824 Bytes 473 451 672 Bytes +34.0 KiB +0.007%

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

@github-actions
Copy link

github-actions bot commented Feb 13, 2025

2025-02-13 17:23:43 UTC Pre-commit check linux-x86_64-release-asan for 671d526 has started.
2025-02-13 17:25:43 UTC Artifacts will be uploaded here
🔴 2025-02-13 17:27:29 UTC Graph compare failed, see the logs.

@github-actions
Copy link

github-actions bot commented Feb 13, 2025

2025-02-13 17:24:10 UTC Pre-commit check linux-x86_64-relwithdebinfo for 671d526 has started.
2025-02-13 17:24:59 UTC Artifacts will be uploaded here
🔴 2025-02-13 17:26:47 UTC Graph compare failed, see the logs.

@mregrock mregrock force-pushed the persist_single_config branch from 08ba1ad to 57becd9 Compare February 14, 2025 08:18
@github-actions
Copy link

github-actions bot commented Feb 14, 2025

2025-02-14 08:21:33 UTC Pre-commit check linux-x86_64-release-asan for 2960c39 has started.
2025-02-14 08:21:44 UTC Artifacts will be uploaded here
2025-02-14 08:24:56 UTC ya make is running...
2025-02-14 09:40:46 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Feb 14, 2025

2025-02-14 08:21:40 UTC Pre-commit check linux-x86_64-relwithdebinfo for 2960c39 has started.
2025-02-14 08:21:52 UTC Artifacts will be uploaded here
2025-02-14 08:25:11 UTC ya make is running...
2025-02-14 09:40:45 UTC Check cancelled

@mregrock mregrock force-pushed the persist_single_config branch from 57becd9 to 61053a3 Compare February 14, 2025 09:40
@github-actions
Copy link

github-actions bot commented Feb 14, 2025

2025-02-14 09:42:38 UTC Pre-commit check linux-x86_64-release-asan for a165b70 has started.
2025-02-14 09:42:43 UTC Artifacts will be uploaded here
2025-02-14 09:45:48 UTC ya make is running...
2025-02-14 09:46:07 UTC Check cancelled

@github-actions
Copy link

github-actions bot commented Feb 14, 2025

2025-02-14 09:42:57 UTC Pre-commit check linux-x86_64-relwithdebinfo for a165b70 has started.
2025-02-14 09:43:03 UTC Artifacts will be uploaded here
2025-02-14 09:46:05 UTC Check cancelled

@mregrock mregrock force-pushed the persist_single_config branch from 61053a3 to e3a14e4 Compare February 14, 2025 09:45
@github-actions
Copy link

github-actions bot commented Feb 14, 2025

2025-02-14 09:47:35 UTC Pre-commit check linux-x86_64-release-asan for 81541c3 has started.
2025-02-14 09:47:39 UTC Artifacts will be uploaded here
2025-02-14 09:50:43 UTC ya make is running...
🟡 2025-02-14 10:55:20 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13914 13829 0 24 23 38

2025-02-14 10:56:39 UTC ya make is running... (failed tests rerun, try 2)
🟡 2025-02-14 11:09:06 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Details

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
130 (only retried tests) 85 0 4 8 33

2025-02-14 11:09:17 UTC ya make is running... (failed tests rerun, try 3)
🟡 2025-02-14 11:28:37 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
77 (only retried tests) 36 0 4 5 32

🟢 2025-02-14 11:28:44 UTC Build successful.
🟡 2025-02-14 11:29:14 UTC ydbd size 3.6 GiB changed* by +304.1 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 60c6e13 merge: 81541c3 diff diff %
ydbd size 3 883 750 960 Bytes 3 884 062 400 Bytes +304.1 KiB +0.008%
ydbd stripped size 1 359 918 928 Bytes 1 360 022 096 Bytes +100.8 KiB +0.008%

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

@github-actions
Copy link

github-actions bot commented Feb 14, 2025

2025-02-14 09:47:42 UTC Pre-commit check linux-x86_64-relwithdebinfo for 81541c3 has started.
2025-02-14 09:47:55 UTC Artifacts will be uploaded here
2025-02-14 09:51:08 UTC ya make is running...
🟡 2025-02-14 10:57:56 UTC Some tests failed, follow the links below. Going to retry failed tests...

Details

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
28125 25525 0 2 2455 143

2025-02-14 11:01:07 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-02-14 11:16:26 UTC Tests successful.

Test history | Ya make output | Test bloat | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
204 (only retried tests) 77 0 0 1 126

🟢 2025-02-14 11:16:38 UTC Build successful.
🟡 2025-02-14 11:16:57 UTC ydbd size 2.1 GiB changed* by +203.8 KiB, which is >= 100.0 KiB vs main: Warning

ydbd size dash main: 60c6e13 merge: 81541c3 diff diff %
ydbd size 2 233 189 536 Bytes 2 233 398 200 Bytes +203.8 KiB +0.009%
ydbd stripped size 473 938 616 Bytes 473 985 368 Bytes +45.7 KiB +0.010%

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

@mregrock mregrock merged commit 262bf50 into ydb-platform:main Feb 14, 2025
12 checks passed
lberserq pushed a commit to lberserq/ydb that referenced this pull request Mar 3, 2025
blinkov pushed a commit that referenced this pull request Mar 21, 2025
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.

3 participants