Skip to content

Whole DBTest to skip fsync - #7049

Closed
siying wants to merge 4 commits into
meta:masterfrom
siying:db_test_no_sync
Closed

siying wants to merge 4 commits into
meta:masterfrom
siying:db_test_no_sync

Conversation

@siying

@siying siying commented Jun 30, 2020

Copy link
Copy Markdown
Contributor

Summary:
After #7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.

Test Plan: Run all existing files.

Summary:
After meta#7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.

Test Plan: Run all existing files.

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@siying has updated the pull request. Re-import the pull request

Comment thread db/db_test.cc Outdated

namespace ROCKSDB_NAMESPACE {

// Note that this hope test disables fsync for files and directories.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

"whole test" I assume.

And maybe say "for speed" though that is in the callee comment

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@siying has updated the pull request. Re-import the pull request

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

@siying has updated the pull request. Re-import the pull request

@facebook-github-bot facebook-github-bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

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

@facebook-github-bot

Copy link
Copy Markdown
Contributor

This pull request has been merged in 4f1534b.

pdillinger added a commit to pdillinger/rocksdb that referenced this pull request Jul 2, 2020
This reverts commit 4f1534b.

This commit caused failures and deadlocks in
MultiThreadedDBTest.MultiThreaded/69 and others.
facebook-github-bot pushed a commit that referenced this pull request Jul 2, 2020
Summary:
This reverts commit 4f1534b.

This commit caused failures and deadlocks in
MultiThreadedDBTest.MultiThreaded/69 and others.
Pull Request resolved: #7070

Reviewed By: riversand963

Differential Revision: D22358778

Pulled By: pdillinger

fbshipit-source-id: faf8f2cb469a7063a113921c8e9c64a9f7610dac
pdillinger added a commit to pdillinger/rocksdb that referenced this pull request Jul 2, 2020
facebook-github-bot pushed a commit that referenced this pull request Jul 2, 2020
Summary:
Even though local bisection gave me a clear signal (and still does) that reverting #7049 would fix the failures in MultiThreadedDBTest, #7022 seems to be the root cause. Reverting #7022 and keeping #7049 seems to fix the issue in local reproducer also. (Had these landed in opposite order, bisection would have found the root cause.)
Pull Request resolved: #7071

Reviewed By: akankshamahajan15

Differential Revision: D22362857

Pulled By: pdillinger

fbshipit-source-id: ed63df3d74e9d4ce1604de8fe43b216166c7a3f0
pdillinger pushed a commit to pdillinger/rocksdb that referenced this pull request Aug 17, 2020
Summary:
After meta#7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.

This commit reinstates meta#7049, whose un-revert was lost in an automatic
infrastructure mis-merge.

Test Plan: Run all existing files.

Reviewed By: pdillinger
facebook-github-bot pushed a commit that referenced this pull request Aug 18, 2020
Summary:
After #7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.

This commit reinstates #7049, whose un-revert was lost in an automatic
infrastructure mis-merge.

Pull Request resolved: #7274

Test Plan: Run all existing files.

Reviewed By: pdillinger

Differential Revision: D23177444

fbshipit-source-id: 1f61690b2ac6333c3b2c87176fef6b2cba086b33
codingrhythm pushed a commit to SafetyCulture/rocksdb that referenced this pull request Mar 5, 2021
Summary:
After meta#7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.

This commit reinstates meta#7049, whose un-revert was lost in an automatic
infrastructure mis-merge.

Pull Request resolved: meta#7274

Test Plan: Run all existing files.

Reviewed By: pdillinger

Differential Revision: D23177444

fbshipit-source-id: 1f61690b2ac6333c3b2c87176fef6b2cba086b33
Tim-Reed pushed a commit to Tim-Reed/rocksdb that referenced this pull request Oct 1, 2026
Summary:
After meta#7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.
Pull Request resolved: meta#7049

Test Plan: Run all existing files.

Reviewed By: pdillinger

Differential Revision: D22301700

fbshipit-source-id: f9a9e3b3b26ce640665a47cb8bff33ba0c89b565
Tim-Reed pushed a commit to Tim-Reed/rocksdb that referenced this pull request Oct 1, 2026
Summary:
This reverts commit fbd3543.

This commit caused failures and deadlocks in
MultiThreadedDBTest.MultiThreaded/69 and others.
Pull Request resolved: meta#7070

Reviewed By: riversand963

Differential Revision: D22358778

Pulled By: pdillinger

fbshipit-source-id: faf8f2cb469a7063a113921c8e9c64a9f7610dac
Tim-Reed pushed a commit to Tim-Reed/rocksdb that referenced this pull request Oct 1, 2026
Summary:
Even though local bisection gave me a clear signal (and still does) that reverting meta#7049 would fix the failures in MultiThreadedDBTest, meta#7022 seems to be the root cause. Reverting meta#7022 and keeping meta#7049 seems to fix the issue in local reproducer also. (Had these landed in opposite order, bisection would have found the root cause.)
Pull Request resolved: meta#7071

Reviewed By: akankshamahajan15

Differential Revision: D22362857

Pulled By: pdillinger

fbshipit-source-id: ed63df3d74e9d4ce1604de8fe43b216166c7a3f0
Tim-Reed pushed a commit to Tim-Reed/rocksdb that referenced this pull request Oct 1, 2026
Summary:
After meta#7036, we still see extra DBTest that can timeout when running 10 or 20 in parallel. Expand skip-fsync mode in whole DBTest. Still preserve other tests from doing this mode to be conservative.

This commit reinstates meta#7049, whose un-revert was lost in an automatic
infrastructure mis-merge.

Pull Request resolved: meta#7274

Test Plan: Run all existing files.

Reviewed By: pdillinger

Differential Revision: D23177444

fbshipit-source-id: 1f61690b2ac6333c3b2c87176fef6b2cba086b33
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