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

Set & check replication config #2649

Merged

Conversation

CyberROFL
Copy link
Member

@CyberROFL CyberROFL commented Mar 12, 2024

Changelog entry

...

Changelog category

  • Not for changelog (changelog entry is not required)

Additional information

...

@CyberROFL CyberROFL linked an issue Mar 12, 2024 that may be closed by this pull request
@CyberROFL CyberROFL requested a review from Enjection March 12, 2024 09:44
Copy link

github-actions bot commented Mar 12, 2024

2024-03-12 09:47:39 UTC Pre-commit check for 7da55eb has started.
2024-03-12 09:47:42 UTC Build linux-x86_64-release-asan is running...
2024-03-12 09:48:05 UTC Check cancelled

Copy link

github-actions bot commented Mar 12, 2024

2024-03-12 09:47:46 UTC Pre-commit check for 7da55eb has started.
2024-03-12 09:47:48 UTC Build linux-x86_64-release-cmake14 is running...
2024-03-12 09:48:06 UTC Check cancelled

@CyberROFL CyberROFL force-pushed the issue-2492/set-replication-cfg branch from 65f6ecf to c69458e Compare March 12, 2024 09:47
Copy link

2024-03-12 09:47:53 UTC Check cancelled

@CyberROFL CyberROFL marked this pull request as ready for review March 12, 2024 09:48
Copy link

github-actions bot commented Mar 12, 2024

2024-03-12 09:49:35 UTC Pre-commit check for ea313d6 has started.
2024-03-12 09:49:37 UTC Build linux-x86_64-relwithdebinfo is running...
🟢 2024-03-12 09:51:40 UTC Build successful.
2024-03-12 09:51:52 UTC Tests are running...
🔴 2024-03-12 11:26:22 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
68328 57358 0 5 10927 38

Copy link

github-actions bot commented Mar 12, 2024

2024-03-12 09:51:51 UTC Pre-commit check for ea313d6 has started.
2024-03-12 09:51:53 UTC Build linux-x86_64-release-asan is running...
🟢 2024-03-12 09:53:58 UTC Build successful.
2024-03-12 09:54:11 UTC Tests are running...
🔴 2024-03-12 11:55:13 UTC Some tests failed, follow the links below.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15017 14411 0 78 490 38

Copy link

github-actions bot commented Mar 12, 2024

2024-03-12 09:51:58 UTC Pre-commit check for ea313d6 has started.
2024-03-12 09:52:01 UTC Build linux-x86_64-release-cmake14 is running...
🟢 2024-03-12 09:53:59 UTC Build successful.

Comment on lines +25 to +39
enum EMode {
MODE_NONE = 0,
MODE_READ_ONLY = 1,
};

enum EConsistency {
CONSISTENCY_STRONG = 1,
CONSISTENCY_WEAK = 2,
};

EMode Mode;
EConsistency Consistency;

void SerializeTo(NKikimrSchemeOp::TTableReplicationConfig& proto) const;
static TReplicationConfig Default();
Copy link
Member

Choose a reason for hiding this comment

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

Maybe it is better to use strongly typed enums?

@shnikd shnikd mentioned this pull request Apr 11, 2024
CyberROFL added a commit to CyberROFL/ydb that referenced this pull request Jun 10, 2024
CyberROFL added a commit to CyberROFL/ydb that referenced this pull request Jun 10, 2024
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.

Fix dst creator
2 participants