apple / foundationdb

FoundationDB - the open source, distributed, transactional key-value store
https://apple.github.io/foundationdb/
Apache License 2.0
14.5k stars 1.31k forks source link

Do not check for PROXY_USE_RESOLVER_PRIVATE_MUTATIONS in rangeLockEnabled #11752

Open dlambrig opened 6 hours ago

dlambrig commented 6 hours ago

Do not check for PROXY_USE_RESOLVER_PRIVATE_MUTATIONS in rangeLockEnabled

Joshua with PROXY_USE_RESOLVER_PRIVATE_MUTATIONS enabled and ENABLE_READ_LOCK_ON_RANGE disabled:

20241104-211756-dlambrig-a5cb3b9fac7ed2ca

with ENABLE_READ_LOCK_ON_RANGE and PROXY_USE_RESOLVER_PRIVATE_MUTATIONS enabled:

20241104-231600-dlambrig-bfad63339bc07b5e

Code-Reviewer Section

The general pull request guidelines can be found here.

Please check each of the following things and check all boxes before accepting a PR.

For Release-Branches

If this PR is made against a release-branch, please also check the following:

kakaiu commented 6 hours ago

LGTM. Note that currently the two rangeLocking simulation test (tests/fast/RangeLockCycle.toml and tests/fast/RangeLocking.toml) disable PROXY_USE_RESOLVER_PRIVATE_MUTATIONS in the toml file. We can re-enable the feature in the two tests once the PR of removing duplicated functions in Resolver.actor.cpp has been merged.

foundationdb-ci commented 6 hours ago

Result of foundationdb-pr-clang-ide on Linux CentOS 7

foundationdb-ci commented 6 hours ago

Result of foundationdb-pr-clang on Linux CentOS 7

foundationdb-ci commented 6 hours ago

Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x

foundationdb-ci commented 6 hours ago

Result of foundationdb-pr-macos on macOS Ventura 13.x

foundationdb-ci commented 5 hours ago

Result of foundationdb-pr-clang-arm on Linux CentOS 7

foundationdb-ci commented 5 hours ago

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

foundationdb-ci commented 5 hours ago

Result of foundationdb-pr on Linux CentOS 7

dlambrig commented 3 hours ago

LGTM. Note that currently the two rangeLocking simulation test (tests/fast/RangeLockCycle.toml and tests/fast/RangeLocking.toml) disable PROXY_USE_RESOLVER_PRIVATE_MUTATIONS in the toml file. We can re-enable the feature in the two tests once the PR of removing duplicated functions in Resolver.actor.cpp has been merged.

There are only two functions and one data structure to deduplicate. Conceptually I do not think there is a good reason why your change would not work on the resolver, but if there is a problem I'll see if it can be fixed.

Joshua ran clean when I enabled both knobs after modifying the toml files. I'll test a bit more to be sure.

foundationdb-ci commented 3 hours ago

Result of foundationdb-pr-clang-ide on Linux CentOS 7

foundationdb-ci commented 2 hours ago

Result of foundationdb-pr-macos-m1 on macOS Ventura 13.x

foundationdb-ci commented 2 hours ago

Result of foundationdb-pr-clang on Linux CentOS 7

foundationdb-ci commented 2 hours ago

Result of foundationdb-pr-macos on macOS Ventura 13.x

foundationdb-ci commented 2 hours ago

Result of foundationdb-pr-clang-arm on Linux CentOS 7

foundationdb-ci commented 2 hours ago

Result of foundationdb-pr-cluster-tests on Linux CentOS 7

foundationdb-ci commented 2 hours ago

Result of foundationdb-pr on Linux CentOS 7