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

bug(tiering): add prints to find crash flow #2673

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

adiholden
Copy link
Collaborator

No description provided.

@adiholden
Copy link
Collaborator Author

@theyueli lets try to run this branch, before you run memtier the second time we will set the vmodule flag to see the flow of the crash

@theyueli
Copy link
Contributor

@theyueli lets try to run this branch, before you run memtier the second time we will set the vmodule flag to see the flow of the crash

sounds good

theyueli
theyueli previously approved these changes Mar 4, 2024
@@ -480,6 +481,7 @@ bool TieredStorage::PrepareForOffload(DbIndex db_index, PrimeIterator it) {
}

void TieredStorage::CancelOffload(DbIndex db_index, PrimeIterator it) {
VLOG(2) << "PrepareForOffload:" << it->first.ToString();
Copy link
Contributor

Choose a reason for hiding this comment

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

typo: PrepareForCancelOffLoad

@@ -318,4 +319,23 @@ TEST_F(TieredStorageTest, GetValueValidation) {
EXPECT_EQ(m.db_stats[0].tiered_entries, 0);
}

TEST_F(TieredStorageTest, CrashBug) {
Copy link
Contributor

Choose a reason for hiding this comment

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

thanks for providing such a template.

@kostasrim
Copy link
Contributor

@adiholden @theyueli is something pending or shall we close this ?

@adiholden
Copy link
Collaborator Author

@kostasrim I will edit the unit tests for merge later. keep this open

@adiholden adiholden requested review from kostasrim and removed request for theyueli March 25, 2024 19:32
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.

None yet

3 participants