apple / foundationdb

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

Fix a segfault when tlog encounters platform_error [release-7.3] #11406

Closed jzhou77 closed 1 month ago

jzhou77 commented 1 month ago

cherrypick #11407

During destruction, rejoinClusterController actor should be cancelled to avoid accessing TLogData object.

Reproduction:

commit: c15448fac7 clang build seed: -f ./tests/rare/CycleWithKills.toml -s 4253735514 -b off

20240517-175903-jzhou-0d9d8397f18a09a7

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:

foundationdb-ci commented 1 month ago

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

foundationdb-ci commented 1 month ago

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

foundationdb-ci commented 1 month ago

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

foundationdb-ci commented 1 month ago

Result of foundationdb-pr-clang on Linux CentOS 7

foundationdb-ci commented 1 month ago

Result of foundationdb-pr on Linux CentOS 7