Skip to content

KIKIMR-20100: Add background cleaning #513

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 18 commits into from
Jan 31, 2024

Conversation

shnikd
Copy link
Collaborator

@shnikd shnikd commented Dec 13, 2023

No description provided.

@shnikd shnikd requested review from gridnevvvit and ijon December 13, 2023 15:14
Copy link

github-actions bot commented Dec 21, 2023

Note

This is an automated comment that will be appended during run.

🔴 linux-x86_64-relwithdebinfo: some tests FAILED for commit c2d4184.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
59896 50672 0 2 9207 15

🔴 linux-x86_64-release-asan: some tests FAILED for commit c2d4184.

Test history

TESTS PASSED ERRORS FAILED SKIPPED MUTED?
15877 15744 0 22 97 14

@shnikd shnikd requested a review from gridnevvvit December 22, 2023 14:54
@shnikd shnikd requested a review from ijon December 27, 2023 21:26
@shnikd shnikd force-pushed the background-cleaning branch from 0ddc246 to 0648e9f Compare December 27, 2023 21:34
gridnevvvit
gridnevvvit previously approved these changes Dec 28, 2023
Copy link
Collaborator

@ijon ijon left a comment

Choose a reason for hiding this comment

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

Not simplified enough after switching to single actor per node.
Also several problems with internal drop operations execution.

@@ -387,7 +389,9 @@ message TTableDescription {
repeated TSequenceDescription Sequences = 39;

optional TTableReplicationConfig ReplicationConfig = 40;

optional bool Temporary = 41;
Copy link
Collaborator

Choose a reason for hiding this comment

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

Also there is problem that temporary tables must be ignored by backups. Somehow.

@shnikd shnikd force-pushed the background-cleaning branch from ce05f61 to c2d4184 Compare January 12, 2024 12:48
@shnikd shnikd requested a review from ijon January 15, 2024 13:12
Copy link
Collaborator

@ijon ijon left a comment

Choose a reason for hiding this comment

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

Minor changes are proposed. Otherwise in general looks good.

break;
default: {
BackgroundCleaningQueue->OnDone(pathId);
EnqueueBackgroundCleaning(pathId);
Copy link
Collaborator

Choose a reason for hiding this comment

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

Is there a potential for the eternal loop?

@shnikd shnikd force-pushed the background-cleaning branch from c2d4184 to 0d60bb9 Compare January 29, 2024 09:32
@starlinskiy starlinskiy mentioned this pull request Feb 12, 2024
@vitstn vitstn mentioned this pull request Feb 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

KIKIMR-20100: Background удаление временных таблиц
4 participants