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

Add more public APIs to crash test #12617

Closed
wants to merge 1 commit into from
Closed

Conversation

hx235
Copy link
Contributor

@hx235 hx235 commented May 3, 2024

Context/Summary:
As titled. Bonus: found that PromoteL0 called with other concurrent PromoteL0 will return non-okay error so clarify the API.

Test:
CI

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@hx235 hx235 changed the title Add more public APIs to crash test [NOCOMMITYET] Add more public APIs to crash test May 6, 2024
@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@hx235 hx235 changed the title [NOCOMMITYET] Add more public APIs to crash test Add more public APIs to crash test May 8, 2024
@hx235 hx235 requested review from ajkr and pdillinger May 8, 2024 22:44
@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

db_stress_tool/db_stress_test_base.cc Show resolved Hide resolved
Comment on lines 2381 to 2382
std::unique_ptr<TransactionLogIterator> iter;
Status s = db_->GetUpdatesSince(seq, &iter);
Copy link
Contributor

Choose a reason for hiding this comment

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

Doesn't the user have to set some option for this to return results that make sense?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah - the wal_xxx parameters ned to be set very high. Still it was a bit flaky in my local run. Let me try again and add TestGetUpdatesSince in another PR for easier testing.

@facebook-github-bot
Copy link
Contributor

@hx235 has updated the pull request. You must reimport the pull request before landing.

@facebook-github-bot
Copy link
Contributor

@hx235 has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot
Copy link
Contributor

@hx235 merged this pull request in 9bddac0.

pdillinger added a commit to pdillinger/rocksdb that referenced this pull request May 13, 2024
Summary: Seeing way too many errors likely related to PromoteL0
from facebook#12617, containing
```
Cannot delete table file #N from level 0 since it is on level X
```

Test Plan: watch crash test results
facebook-github-bot pushed a commit that referenced this pull request May 13, 2024
Summary:
Seeing way too many errors likely related to PromoteL0 from #12617, containing
```
Cannot delete table file #N from level 0 since it is on level X
```

Pull Request resolved: #12651

Test Plan: watch crash test results

Reviewed By: hx235

Differential Revision: D57286208

Pulled By: pdillinger

fbshipit-source-id: f7f0560cc0804ca297373c8d20ebc34986cc19d0
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.

None yet

3 participants