Skip to content

Expand the list of message fields available for transfering from a topic to a table #14941

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 5 commits into from
Feb 24, 2025

Conversation

nshestakov
Copy link
Collaborator

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Description for reviewers

...

Copy link

🟢 2025-02-24 06:46:08 UTC The validation of the Pull Request description is successful.

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 06:48:50 UTC Pre-commit check linux-x86_64-relwithdebinfo for dad93b5 has started.
2025-02-24 06:49:02 UTC Artifacts will be uploaded here
2025-02-24 06:52:08 UTC ya make is running...
2025-02-24 06:58:41 UTC Check cancelled

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 06:48:53 UTC Pre-commit check linux-x86_64-release-asan for dad93b5 has started.
2025-02-24 06:49:07 UTC Artifacts will be uploaded here
2025-02-24 06:52:08 UTC ya make is running...
🔴 2025-02-24 06:55:51 UTC Build failed, see the logs. Also see fail summary

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 07:00:55 UTC Pre-commit check linux-x86_64-relwithdebinfo for eb6ebff has started.
2025-02-24 07:01:39 UTC Artifacts will be uploaded here
2025-02-24 07:04:58 UTC ya make is running...
🟡 2025-02-24 07:57:36 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?
19157 17793 0 2 1229 133

2025-02-24 07:59:14 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-02-24 08:20:01 UTC Tests successful.

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

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
213 (only retried tests) 85 0 0 0 128

🟢 2025-02-24 08:20:08 UTC Build successful.
🟢 2025-02-24 08:20:26 UTC ydbd size 2.1 GiB changed* by +24.7 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 50d5375 merge: eb6ebff diff diff %
ydbd size 2 242 825 624 Bytes 2 242 850 888 Bytes +24.7 KiB +0.001%
ydbd stripped size 474 855 032 Bytes 474 859 064 Bytes +3.9 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

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 07:02:41 UTC Pre-commit check linux-x86_64-release-asan for eb6ebff has started.
2025-02-24 07:02:53 UTC Artifacts will be uploaded here
2025-02-24 07:05:40 UTC ya make is running...
🟡 2025-02-24 08:05:39 UTC Some tests failed, follow the links below. This fail is not in blocking policy yet Going to retry failed tests...

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11846 11683 0 116 12 35

2025-02-24 08:06:42 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-02-24 08:24:50 UTC Tests successful.

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

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
210 (only retried tests) 175 0 0 2 33

🟢 2025-02-24 08:24:57 UTC Build successful.
🟢 2025-02-24 08:25:21 UTC ydbd size 3.6 GiB changed* by +55.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 50d5375 merge: eb6ebff diff diff %
ydbd size 3 899 470 864 Bytes 3 899 527 528 Bytes +55.3 KiB +0.001%
ydbd stripped size 1 365 153 040 Bytes 1 365 173 904 Bytes +20.4 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

Comment on lines 19 to 23
using TRecord = TEvWorker::TEvData::TRecord;

TRecord Record(ui64 offset, const TString& data) {
return TRecord(offset, data, TInstant::Zero(), "MessageGroupId", "ProducerId", 13 /* seqNo */);
}
Copy link
Member

Choose a reason for hiding this comment

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

Дык сделай просто локальную обертку над TRecord и дифф будет намного меньше.

Comment on lines 20 to 24
using TRecord = TEvWorker::TEvData::TRecord;

TRecord Record(ui64 offset, const TString& data) {
return TRecord(offset, data, TInstant::Zero(), "MessageGroupId", "ProducerId", 13 /* seqNo */);
}
Copy link
Member

Choose a reason for hiding this comment

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

То же самое тут.

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 11:27:36 UTC Pre-commit check linux-x86_64-relwithdebinfo for 821299e has started.
2025-02-24 11:27:48 UTC Artifacts will be uploaded here
2025-02-24 11:30:42 UTC ya make is running...
2025-02-24 11:59:42 UTC Check cancelled

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 11:27:37 UTC Pre-commit check linux-x86_64-release-asan for 821299e has started.
2025-02-24 11:27:52 UTC Artifacts will be uploaded here
2025-02-24 11:30:48 UTC ya make is running...
2025-02-24 11:59:42 UTC Check cancelled

Comment on lines 19 to 22
using TRecord = TEvWorker::TEvData::TRecord;

TRecord Record(ui64 offset, const TString& data) {
return TRecord(offset, data, TInstant::Zero(), "MessageGroupId", "ProducerId", 13 /* seqNo */);
TEvWorker::TEvData::TRecord TRecord(ui64 offset, const TString& data) {
return TEvWorker::TEvData::TRecord(offset, data, TInstant::Zero(), "MessageGroupId", "ProducerId", 13 /* seqNo */);
}
Copy link
Member

Choose a reason for hiding this comment

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

Функция не можешь называться TRecord. Я имел в виду что-то такое:

struct TRecord: public TEvWorker::TEvData::TRecord {
    explicit TRecord(ui64 offset, const TString& data)
        : TEvWorker::TEvData::TRecord(offset, data, TInstant::Zero(), "MessageGroupId", "ProducerId", 42)
    {}
};

И положить в общее место, чтобы использовать в table_writer_ut.cpp и transfer_writer_ut.cpp.

Copy link

github-actions bot commented Feb 24, 2025

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

Test history | Ya make output | Test bloat

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
11715 11624 0 34 19 38

2025-02-24 13:15:06 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-02-24 13:36:56 UTC Tests successful.

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

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
141 (only retried tests) 101 0 0 8 32

🟢 2025-02-24 13:37:03 UTC Build successful.
🟢 2025-02-24 13:37:33 UTC ydbd size 3.6 GiB changed* by +47.3 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: f3e0968 merge: fb3733b diff diff %
ydbd size 3 899 589 992 Bytes 3 899 638 400 Bytes +47.3 KiB +0.001%
ydbd stripped size 1 365 211 408 Bytes 1 365 224 016 Bytes +12.3 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

Copy link

github-actions bot commented Feb 24, 2025

2025-02-24 12:03:37 UTC Pre-commit check linux-x86_64-relwithdebinfo for fb3733b has started.
2025-02-24 12:03:49 UTC Artifacts will be uploaded here
2025-02-24 12:06:37 UTC ya make is running...
🟡 2025-02-24 12:57:04 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?
19159 17638 0 2 1445 74

2025-02-24 12:59:08 UTC ya make is running... (failed tests rerun, try 2)
🟢 2025-02-24 13:20:26 UTC Tests successful.

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

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
371 (only retried tests) 236 0 0 10 125

🟢 2025-02-24 13:20:36 UTC Build successful.
🟢 2025-02-24 13:20:54 UTC ydbd size 2.1 GiB changed* by +71.1 KiB, which is < 100.0 KiB vs main: OK

ydbd size dash main: 9d32e6d merge: fb3733b diff diff %
ydbd size 2 242 842 712 Bytes 2 242 915 528 Bytes +71.1 KiB +0.003%
ydbd stripped size 474 859 736 Bytes 474 877 080 Bytes +16.9 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

@nshestakov nshestakov enabled auto-merge (squash) February 24, 2025 12:55
@nshestakov nshestakov merged commit f1dcfdb into ydb-platform:main Feb 24, 2025
12 checks passed
@nshestakov nshestakov deleted the TR-message-fields branch February 24, 2025 16:56
lberserq pushed a commit to lberserq/ydb that referenced this pull request Mar 3, 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