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

YQ-3836 improved metadata objects errors #12486

Conversation

GrigoriyPA
Copy link
Collaborator

@GrigoriyPA GrigoriyPA commented Dec 11, 2024

Changelog entry

Improved metadata objects errors

Changelog category

  • Improvement

Additional information

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:25:51 UTC Pre-commit check linux-x86_64-release-asan for e1ccbdd has started.
2024-12-11 08:26:02 UTC Artifacts will be uploaded here
2024-12-11 08:29:05 UTC ya make is running...
2024-12-11 08:29:43 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:28:13 UTC Pre-commit check linux-x86_64-relwithdebinfo for e1ccbdd has started.
2024-12-11 08:28:24 UTC Artifacts will be uploaded here
2024-12-11 08:29:41 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:33:44 UTC Pre-commit check linux-x86_64-relwithdebinfo for 0c40793 has started.
2024-12-11 08:33:56 UTC Artifacts will be uploaded here
2024-12-11 08:37:15 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:34:13 UTC Pre-commit check linux-x86_64-release-asan for 0c40793 has started.
2024-12-11 08:34:24 UTC Artifacts will be uploaded here
2024-12-11 08:37:27 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:38:51 UTC Pre-commit check linux-x86_64-relwithdebinfo for a494802 has started.
2024-12-11 08:38:55 UTC Artifacts will be uploaded here
2024-12-11 08:42:12 UTC ya make is running...
2024-12-11 08:46:44 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:38:57 UTC Pre-commit check linux-x86_64-release-asan for a494802 has started.
2024-12-11 08:39:07 UTC Artifacts will be uploaded here
2024-12-11 08:42:13 UTC ya make is running...
2024-12-11 08:46:44 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:48:39 UTC Pre-commit check linux-x86_64-relwithdebinfo for d60ed80 has started.
2024-12-11 08:48:52 UTC Artifacts will be uploaded here
2024-12-11 08:51:56 UTC ya make is running...
2024-12-11 08:52:41 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:49:50 UTC Pre-commit check linux-x86_64-release-asan for d60ed80 has started.
2024-12-11 08:50:02 UTC Artifacts will be uploaded here
2024-12-11 08:52:40 UTC Check cancelled

Copy link

github-actions bot commented Dec 11, 2024

2024-12-11 08:54:32 UTC Pre-commit check linux-x86_64-relwithdebinfo for 724a51f has started.
2024-12-11 08:55:09 UTC Artifacts will be uploaded here
2024-12-11 08:58:42 UTC ya make is running...
🟡 2024-12-11 10:23:25 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
32521 29596 0 4 2810 111

2024-12-11 10:26:21 UTC ya make is running... (failed tests rerun, try 2)
🟡 2024-12-11 10:39:01 UTC Some tests failed, follow the links below. Going to retry failed tests...

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

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
656 (only retried tests) 547 0 1 1 107

2024-12-11 10:39:13 UTC ya make is running... (failed tests rerun, try 3)
🔴 2024-12-11 10:50:51 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?
638 (only retried tests) 530 0 1 0 107

🟢 2024-12-11 10:51:01 UTC Build successful.
🟢 2024-12-11 10:51:21 UTC ydbd size 2.1 GiB changed* by +21.7 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 961df40 merge: 724a51f diff diff %
ydbd size 2 255 623 720 Bytes 2 255 645 968 Bytes +21.7 KiB +0.001%
ydbd stripped size 483 851 728 Bytes 483 867 792 Bytes +15.7 KiB +0.003%

*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 Dec 11, 2024

2024-12-11 08:54:48 UTC Pre-commit check linux-x86_64-release-asan for 724a51f has started.
2024-12-11 08:55:00 UTC Artifacts will be uploaded here
2024-12-11 08:58:03 UTC ya make is running...
🟡 2024-12-11 10:30:15 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15103 15034 0 20 4 45

🟢 2024-12-11 10:31:35 UTC Build successful.
🟢 2024-12-11 10:32:01 UTC ydbd size 3.6 GiB changed* by +77.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 961df40 merge: 724a51f diff diff %
ydbd size 3 897 522 304 Bytes 3 897 601 504 Bytes +77.3 KiB +0.002%
ydbd stripped size 1 366 453 872 Bytes 1 366 504 688 Bytes +49.6 KiB +0.004%

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

if (!AppData(actorSystem)->FeatureFlags.GetEnableExternalDataSources()) {
throw std::runtime_error("External data sources are disabled. Please contact your system administrator to enable it");
}
TString GetOrEmpty(const NYql::TCreateObjectSettings& container, const TString& key) {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Похоже в этом ревью все намешалось:

  1. Рефакторинг
  2. Не печатать строчку кода в пользовательские ошибки
  3. Изменение возвращаемых статусов

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Да, рефакторинг я ещё хотел сделать, когда добавлял resource_pool, так как тогда вышло довольно много копипасты, сейчас её постарался убрать + убрал throw и большинства мест, чтобы не отловленное исключение мапилось в INTERNAL_ERROR, а в остальных местах явно бы прописывался статус ошибки

@GrigoriyPA GrigoriyPA force-pushed the YQ-3836-improve-metadata-objects-errors branch from 1000bdf to 9e617a4 Compare December 23, 2024 11:07
Copy link

github-actions bot commented Dec 23, 2024

2024-12-23 11:08:40 UTC Pre-commit check linux-x86_64-release-asan for 94e95ed has started.
2024-12-23 11:08:52 UTC Artifacts will be uploaded here
2024-12-23 11:11:53 UTC ya make is running...
2024-12-23 11:55:26 UTC Check cancelled

Copy link

github-actions bot commented Dec 23, 2024

2024-12-23 11:08:55 UTC Pre-commit check linux-x86_64-relwithdebinfo for 94e95ed has started.
2024-12-23 11:09:06 UTC Artifacts will be uploaded here
2024-12-23 11:12:06 UTC ya make is running...
2024-12-23 11:55:28 UTC Check cancelled

@GrigoriyPA GrigoriyPA requested a review from dorooleg December 23, 2024 11:29
Copy link

github-actions bot commented Dec 23, 2024

2024-12-23 11:56:05 UTC Pre-commit check linux-x86_64-relwithdebinfo for 76ab0cf has started.
2024-12-23 11:56:08 UTC Artifacts will be uploaded here
2024-12-23 11:59:17 UTC ya make is running...
🟡 2024-12-23 12:59:14 UTC Some tests failed, follow the links below. Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
30749 27803 0 2 2831 113

2024-12-23 13:02:07 UTC ya make is running... (failed tests rerun, try 2)
🟢 2024-12-23 13:14:12 UTC Tests successful.

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

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
158 (only retried tests) 49 0 0 0 109

🟢 2024-12-23 13:14:20 UTC Build successful.
🟢 2024-12-23 13:14:41 UTC ydbd size 2.1 GiB changed* by -40.9 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 1e172ec merge: 76ab0cf diff diff %
ydbd size 2 234 949 880 Bytes 2 234 908 000 Bytes -40.9 KiB -0.002%
ydbd stripped size 477 965 520 Bytes 477 955 024 Bytes -10.2 KiB -0.002%

*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 Dec 23, 2024

2024-12-23 11:56:15 UTC Pre-commit check linux-x86_64-release-asan for 76ab0cf has started.
2024-12-23 11:56:45 UTC Artifacts will be uploaded here
2024-12-23 12:00:23 UTC ya make is running...
🟡 2024-12-23 13:04:51 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
13855 13777 0 21 10 47

🟢 2024-12-23 13:06:05 UTC Build successful.
🟢 2024-12-23 13:06:29 UTC ydbd size 3.6 GiB changed* by -40.6 KiB, which is <= 0 Bytes vs main: OK

ydbd size dash main: 1e172ec merge: 76ab0cf diff diff %
ydbd size 3 865 485 568 Bytes 3 865 444 000 Bytes -40.6 KiB -0.001%
ydbd stripped size 1 350 611 152 Bytes 1 350 602 576 Bytes -8.4 KiB -0.001%

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

@GrigoriyPA GrigoriyPA merged commit db73603 into ydb-platform:main Dec 27, 2024
10 checks passed
@GrigoriyPA GrigoriyPA deleted the YQ-3836-improve-metadata-objects-errors branch December 27, 2024 06:18
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.

2 participants