Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
598 commits
Select commit Hold shift + click to select a range
e3017c1
Merge branch 'release-7.1' into knob
flowguru Sep 29, 2023
aadfd8f
Merge pull request #10947 from hfu94/knob
jzhou77 Oct 2, 2023
536c6ac
Fix an invalid memory access
jzhou77 Oct 2, 2023
a693f25
Fix guess region from s3 URL
w41ter Aug 10, 2023
42b6a22
Reducing canCommit wait to avoid bigger spikes on pendinng compaction…
neethuhaneesha Oct 3, 2023
297f3f7
fix: Non-storage processes were not being checked for locality exclus…
sfc-gh-etschannen Jul 14, 2023
29d8c15
fix: do not allow locality based excludes if they cannot exclude the …
sfc-gh-etschannen Aug 1, 2023
d5690ef
fixup! Fix build failures
xis19 Oct 3, 2023
bae47e0
Fix strtol return type and error checking
jzhou77 Oct 3, 2023
d5ec2ed
fix-redistribute-cli
kakaiu Oct 3, 2023
b7d1cb4
Merge pull request #10951 from jzhou77/release-7.1
jzhou77 Oct 4, 2023
4b3817d
Merge pull request #10958 from kakaiu/fix-redistribute-cli
jzhou77 Oct 4, 2023
059f47b
auto hot storage server detect
kakaiu Sep 30, 2023
8a9d6fd
address comments
kakaiu Oct 9, 2023
a649288
Merge pull request #10932 from kakaiu/add-auto-shard-split-for-hot-st…
jzhou77 Oct 9, 2023
834cd01
Fix trackExcludedServers to use ExclusionTracker
jzhou77 Oct 11, 2023
5a46e13
Merge pull request #10976 from jzhou77/pr/xis19/10971
jzhou77 Oct 12, 2023
a3dbd4b
Add 7.1.42, 7.1.43 release notes (#10981)
jzhou77 Oct 13, 2023
9c0ba06
add write traffic to ddMetricsGetRange
kakaiu Oct 16, 2023
cea63c3
Merge pull request #10985 from kakaiu/add-fdbcli-to-query-shard-metrics
jzhou77 Oct 16, 2023
1083418
Fix unknown key in DataDistributionMetrics test
kakaiu Oct 17, 2023
b0de8f3
Compaction rate limiter changes.
neethuhaneesha Oct 17, 2023
52bb61e
Merge pull request #10988 from neethuhaneesha/ratelimiter
jzhou77 Oct 18, 2023
427fcd4
enable DataDistributionMetrics test
kakaiu Oct 17, 2023
b1ddafd
Merge branch 'release-7.1' into update-ddMetricsGetRange-schema
kakaiu Oct 18, 2023
e999c73
Merge pull request #10989 from kakaiu/update-ddMetricsGetRange-schema
jzhou77 Oct 18, 2023
3b019f0
Perpetual wiggle option to have multiple SS in rebalance state during…
neethuhaneesha Oct 18, 2023
8895366
Merge pull request #10995 from neethuhaneesha/fastWiggle
jzhou77 Oct 19, 2023
1c2dd6c
Fix exclude status of machines in status json (#10996)
johscheuer Oct 19, 2023
53bd794
Fix an assertion failure in tests
jzhou77 Oct 16, 2023
7ba77a3
Fix RemoveServersSafely workload timeout error
jzhou77 Oct 19, 2023
a1423f5
Fix force flag for exclusion
jzhou77 Oct 20, 2023
44ab9c7
Correct the check for a machine being excluded
johscheuer Oct 19, 2023
6170c7b
Make sure the get all excluded servers method returns servers that ar…
johscheuer Oct 18, 2023
7e8371f
Issue get worker request concurrently
johscheuer Oct 20, 2023
1f6fc66
Merge pull request #11000 from jzhou77/release-7.1
jzhou77 Oct 23, 2023
b361eac
Merge pull request #11008 from johscheuer/include-excluded-server-by-…
jzhou77 Oct 23, 2023
7b3f5d5
Merge branch 'release-7.1' into correct-machine-exclusion-check-7.1
johscheuer Oct 23, 2023
49646f0
Merge pull request #11006 from johscheuer/correct-machine-exclusion-c…
jzhou77 Oct 23, 2023
7d391b3
Make sure server list is validated against the excluded localites
johscheuer Oct 20, 2023
b81e436
Add missing fdbcli util method
johscheuer Oct 24, 2023
1a8f9a0
Add missing fdbcli util method
johscheuer Oct 24, 2023
4dfc7e8
Merge pull request #11025 from johscheuer/verify-localities-and-serve…
jzhou77 Oct 24, 2023
73dad47
Update 7.1.42 release notes (#11029)
jzhou77 Oct 24, 2023
fa0556c
Allow the exclusions of localities that are not matching any process
johscheuer Oct 25, 2023
1e413f7
disable AVX for 7.1.42 release
foundationdb-ci Oct 25, 2023
0301045
enable AVX and update version for 7.1.43 release
foundationdb-ci Oct 25, 2023
12aef42
update version after 7.1.43 release
foundationdb-ci Oct 25, 2023
874e675
Merge pull request #11034 from johscheuer/allow-exclusion-of-missing-…
jzhou77 Oct 27, 2023
da62410
fix-consistency-check-issues
kakaiu Dec 6, 2023
28f0a5f
fix
kakaiu Dec 6, 2023
8870df5
allow real time cancel
kakaiu Dec 6, 2023
26b4f54
allow real time cancel
kakaiu Dec 6, 2023
60bf37b
add trace length
kakaiu Dec 7, 2023
a7bad66
Merge pull request #11091 from sbodagala/main
jzhou77 Dec 7, 2023
12e5717
print ConsistencyCheck_ShardWrongPlaceSkipped
kakaiu Dec 8, 2023
6409298
refine trace event
kakaiu Dec 8, 2023
6b5e96d
Merge pull request #11093 from sbodagala/release-7.1
jzhou77 Dec 8, 2023
5dbfc6c
Merge branch 'release-7.1' into fix-consistency-check-issues
kakaiu Dec 8, 2023
a326908
handle a corner case
kakaiu Dec 8, 2023
de4f138
Merge pull request #11088 from kakaiu/fix-consistency-check-issues
jzhou77 Dec 9, 2023
e89cf52
disable AVX for 7.1.44 release
foundationdb-ci Dec 9, 2023
936b70f
enable AVX and update version for 7.1.45 release
foundationdb-ci Dec 9, 2023
bbf5b00
Added logs for invalid mutations.
liquid-helium Dec 9, 2023
784eebb
update version after 7.1.45 release
foundationdb-ci Dec 9, 2023
6fca89e
fmt.
liquid-helium Dec 9, 2023
983b108
Merge branch 'release-7.1' of https://github.com/apple/foundationdb i…
liquid-helium Dec 9, 2023
3522ec6
Add key ranges as filters for fdbdecode
jzhou77 Dec 11, 2023
d83b037
retriable consistency checker
kakaiu Dec 11, 2023
33d577c
repair DC when retry too many times
kakaiu Dec 11, 2023
c07815e
Merge pull request #11096 from kakaiu/consistency-check-should-not-sk…
jzhou77 Dec 11, 2023
13e209e
Merge pull request #11099 from jzhou77/release-7.1
jzhou77 Dec 11, 2023
ed7c807
Range-Customizable Consistency Checker
kakaiu Dec 11, 2023
f49f85d
Merge pull request #11100 from kakaiu/consistency-check-fixes
jzhou77 Dec 12, 2023
51fd3ec
disable AVX for 7.1.46 release
foundationdb-ci Dec 12, 2023
1a7fe27
enable AVX and update version for 7.1.47 release
foundationdb-ci Dec 12, 2023
61e80a4
update version after 7.1.47 release
foundationdb-ci Dec 12, 2023
3cdf934
Merge pull request #11098 from sbodagala/main
jzhou77 Dec 11, 2023
34e6ee0
Merge pull request #11101 from sbodagala/release-7.1
jzhou77 Dec 13, 2023
f3c9616
improved-getKeyLocationsForRangeList-and-one-time-run
kakaiu Dec 13, 2023
287a4c5
Merge branch 'release-7.1' into consistency-check-fixes
kakaiu Dec 13, 2023
f2b1e97
urgent mode
kakaiu Dec 13, 2023
73d2dfe
fmt
kakaiu Dec 13, 2023
2b9b96f
skip entire shard if any subkeys failed to check
kakaiu Dec 13, 2023
61c2cb2
turn on CONSISTENCY_CHECK_URGENT_MODE
kakaiu Dec 13, 2023
392bb21
input-multiple-ranges-to-check
kakaiu Dec 14, 2023
3347418
comment change
kakaiu Dec 14, 2023
e876eea
fix user input range
kakaiu Dec 14, 2023
ff79e6f
fix knob val
kakaiu Dec 14, 2023
9817149
fix NumShardToCheckThisEpoch counter
kakaiu Dec 14, 2023
0fb187f
Merge pull request #11102 from kakaiu/consistency-check-fixes
jzhou77 Dec 14, 2023
ca50d27
disable AVX for 7.1.48 release
foundationdb-ci Dec 14, 2023
5fe02b5
enable AVX and update version for 7.1.49 release
foundationdb-ci Dec 14, 2023
1796b1f
update version after 7.1.49 release
foundationdb-ci Dec 15, 2023
0baa9d9
stateful consistency checker
kakaiu Dec 16, 2023
650e729
add to simulation test
kakaiu Dec 17, 2023
53f57e7
bypass consistencycheck command
kakaiu Dec 17, 2023
8574938
fix bugs
kakaiu Dec 18, 2023
87b61a7
fix bugs
kakaiu Dec 18, 2023
2c65b84
introduce random failure of consistency checker
kakaiu Dec 18, 2023
9d9afea
simplifying consistency checker urgent workload
kakaiu Dec 18, 2023
65df92d
more trace event
kakaiu Dec 18, 2023
23089a7
better logic of runConsistencyCheckerUrgentCore
kakaiu Dec 18, 2023
a0a1a0e
better spec
kakaiu Dec 18, 2023
30fc0ec
address comments
kakaiu Dec 18, 2023
af3a97e
addressed comments
kakaiu Dec 18, 2023
bfb9840
make consistency checker operations serializable
kakaiu Dec 19, 2023
83dbc5e
Fix checkall when shard is large
flowguru Dec 19, 2023
a430a68
report error in dispatchMonitorUrgentConsistencyCheckWorkload
kakaiu Dec 19, 2023
7d593b9
nit
kakaiu Dec 19, 2023
8761ee4
Change comment
flowguru Dec 19, 2023
2a328dc
nit
kakaiu Dec 20, 2023
393fef7
Merge pull request #11105 from hfu94/fixCheck
jzhou77 Dec 20, 2023
6c7c834
code clean
kakaiu Dec 20, 2023
0c43d95
Merge branch 'release-7.1' into stateful-consistency-checker
kakaiu Dec 20, 2023
c2ddfca
fix bugs
kakaiu Jan 2, 2024
9a22087
add trace of read range failed
kakaiu Jan 2, 2024
9b3744a
guarantee complete check without persisting metadata
kakaiu Jan 3, 2024
60ae45b
code cleanup and nits
kakaiu Jan 3, 2024
ec99605
tester should notify checker if it gives up retrying
kakaiu Jan 3, 2024
581f0aa
tolerate when CC returns stale testers interface
kakaiu Jan 4, 2024
f2cd454
nits
kakaiu Jan 4, 2024
9311ad0
fmt
kakaiu Jan 4, 2024
8dd7cbf
Merge pull request #11103 from kakaiu/stateful-consistency-checker
jzhou77 Jan 4, 2024
82c5960
disable AVX for 7.1.50 release
foundationdb-ci Jan 5, 2024
778e31b
enable AVX and update version for 7.1.51 release
foundationdb-ci Jan 5, 2024
ddaa2fd
update version after 7.1.51 release
foundationdb-ci Jan 5, 2024
9281309
Merge branch 'release-7.1' of https://github.com/apple/foundationdb i…
liquid-helium Jan 9, 2024
584e4ad
consistency checker urgent should tolerate busy restart loop of the c…
kakaiu Jan 14, 2024
7e9594f
fix a simulation failure due to setup error
kakaiu Jan 16, 2024
c23d4f6
Merge pull request #11127 from kakaiu/improve-consistency-check-urgent
jzhou77 Jan 17, 2024
f5b190e
disable AVX for 7.1.52 release
foundationdb-ci Jan 17, 2024
d69857d
enable AVX and update version for 7.1.53 release
foundationdb-ci Jan 17, 2024
7c63eed
update version after 7.1.53 release
foundationdb-ci Jan 17, 2024
19b0f92
fix check all command
kakaiu Jan 18, 2024
b31e6af
Merge pull request #11138 from kakaiu/improve-check-all
jzhou77 Jan 19, 2024
a2a56d1
fix-checkall-false-alarm-bug
kakaiu Jan 20, 2024
ab79237
address comments
kakaiu Jan 20, 2024
4d1dbb2
address comments and nits
kakaiu Jan 23, 2024
b5efbc7
Merge pull request #11141 from kakaiu/fix-check-all
jzhou77 Jan 23, 2024
9aec703
fix-check-all-block-issue
kakaiu Jan 24, 2024
2a2adf3
address comments
kakaiu Jan 25, 2024
f19a57d
Merge pull request #11146 from kakaiu/fix-check-all-block-issue
jzhou77 Jan 26, 2024
d2e26d9
fix tester stale interface issue at CC
kakaiu Jan 26, 2024
462304a
Allow AsyncFileWriteChecker history.timestamp to have better precision
flowguru Jan 29, 2024
a75ec4d
Update value to be hex output
jzhou77 Jan 29, 2024
3cf894c
Use hex for checkall command output
jzhou77 Jan 29, 2024
05ab6da
Merge pull request #11149 from kakaiu/fix-tester-stale-interface-at-cc
jzhou77 Jan 30, 2024
cde49b7
Merge pull request #11153 from jzhou77/release-7.1
jzhou77 Jan 30, 2024
22ebcac
Merge pull request #11155 from hfu94/ts71
jzhou77 Jan 30, 2024
e831f2f
Enable DD verbose tracing by default.
liquid-helium Jan 30, 2024
97aca0f
Fix complie issue for ALLOC_INSTRUMENTATION (#11164)
johscheuer Feb 1, 2024
b9b60e1
Merge branch 'release-7.1' of https://github.com/apple/foundationdb i…
liquid-helium Feb 1, 2024
c9e0135
Merge branch 'release-7.1' of https://github.com/apple/foundationdb i…
liquid-helium Feb 1, 2024
f4080da
Merge pull request #11097 from liquid-helium/invalid-mutation-logging
jzhou77 Feb 1, 2024
62839b3
Merge pull request #11158 from liquid-helium/enable-dd-7.1
jzhou77 Feb 1, 2024
c445224
Upgrade rocksdb to 8.6.7
ammolitor Oct 31, 2023
16f5875
add sha to opentest4j download
ammolitor Nov 3, 2023
546c440
Fix the compile warning in KeyValueStoreRocksDB.actor.cpp
xis19 Jan 28, 2024
13934fb
Make FoundationDB Compilable Again
xis19 Jan 31, 2024
94e0a14
Removing the type check unit test (#11168)
neethuhaneesha Feb 1, 2024
a92485b
disable AVX for 7.1.54 release
foundationdb-ci Feb 6, 2024
0b6e96b
enable AVX and update version for 7.1.55 release
foundationdb-ci Feb 6, 2024
4a67f69
Add 7.1.44 to 7.1.55 release notes (#11183)
jzhou77 Feb 7, 2024
0c062ef
update version after 7.1.55 release
foundationdb-ci Feb 7, 2024
009af24
fix find toml in release-7.1 to avoid macos pr failures
ammolitor Feb 8, 2024
3d6161e
Upgrade to RocksDB 8.10.0.
Feb 5, 2024
a5da13c
[RELEASE-7.1] Abort process when abnormal shutdown is initiated to al…
johscheuer Feb 13, 2024
ac8bdfc
Fix single consistency checker (#11205)
kakaiu Feb 16, 2024
e8856e9
fix sev error in distributed consistency checker (#11203)
kakaiu Feb 16, 2024
8e434df
Allow to disable the removal of maintenance mode when a SS outside of…
johscheuer Feb 16, 2024
56cce59
disable AVX for 7.1.56 release
foundationdb-ci Feb 18, 2024
05afc09
enable AVX and update version for 7.1.57 release
foundationdb-ci Feb 18, 2024
d5707f7
update version after 7.1.57 release
foundationdb-ci Feb 19, 2024
8cbc544
Add 7.1.56 to 7.1.57 release notes [release-7.1] (#11209)
kakaiu Feb 19, 2024
8cfba79
cherrypick pr 11229 (#11230)
kakaiu Mar 1, 2024
11b41cd
Update doctest to version 2.4.8
jzhou77 Feb 29, 2024
a286cfd
Fix a DR corruption bug
jzhou77 Mar 9, 2024
3316566
Fix clang compiling errors
jzhou77 Mar 9, 2024
c9b9cc1
disable AVX for 7.1.58 release
foundationdb-ci Mar 12, 2024
3885237
enable AVX and update version for 7.1.59 release
foundationdb-ci Mar 12, 2024
d2a9500
Merge branch 'release-7.1' into release-7.1
jzhou77 Mar 13, 2024
476b612
update version after 7.1.59 release
foundationdb-ci Mar 14, 2024
2a79831
Merge pull request #11245 from jzhou77/release-7.1
jzhou77 Mar 19, 2024
96bffe1
align script with main branch
ammolitor Apr 1, 2024
1bd3465
cherry picked https://github.com/DataDog/foundationdb/commits/griffin…
griffin May 25, 2023
36452d3
Merge remote-tracking branch 'upstream/release-7.1' into 7_1_43_tenant
newhook Apr 2, 2024
89122c8
720 -> 710
newhook Apr 2, 2024
7b685b9
tenant/map -> tenant_map
newhook Apr 2, 2024
3235657
Address some PR review comments.
newhook Apr 9, 2024
d8ae0b4
update copyright notice.
newhook Apr 12, 2024
3c865cd
Merge pull request #11278 from customerio/7_1_43_tenant
jzhou77 Apr 12, 2024
b6e9433
update fdbkubernetesmonitor to match main, and add fdb-kubernetes-mo…
ammolitor Apr 12, 2024
684422e
Cherry pick #11309 Raise visibility of gray failure actions (#11314)
dlambrig Apr 19, 2024
98a18d5
update go bindings build to play nice with golang 1.22
ammolitor Apr 25, 2024
30948b4
Increase CommitProxyTerminated severity for failed_to_progress errors…
jzhou77 Apr 26, 2024
6cfd21f
Throw errors in getConsistentReadVersion (#11352)
jzhou77 May 2, 2024
5321186
cherry-pick-improve-dcc (#11351)
kakaiu May 3, 2024
4ef0d02
Add logging to LogRouter's waitForVersion function (#11359) (#11370)
dlambrig May 8, 2024
725a08a
[Release 7.1] Disable TestOpenNotExistTenant test (#11380)
xis19 May 10, 2024
923ca8e
Fix an assertion failure when waiting for recovery
jzhou77 May 14, 2024
f9757d9
Merge pull request #11398 from jzhou77/release-7.1
jzhou77 May 14, 2024
ae0da6a
Add default timeout for fdbbackup
johscheuer May 14, 2024
797ade2
Correct format
johscheuer May 14, 2024
834bb30
Correct imports for release-7.1
johscheuer May 15, 2024
51779a5
Make it so can run the ycsb container standalone without need of a k8s
saintstack May 8, 2024
4645713
disable AVX for 7.1.60 release
foundationdb-ci May 15, 2024
262c6fe
enable AVX and update version for 7.1.61 release
foundationdb-ci May 15, 2024
c3c13ac
Merge branch 'release-7.1' into add-default-timeout-fdbbackup-release…
ammolitor May 15, 2024
d0ce1f8
update version after 7.1.61 release
foundationdb-ci May 15, 2024
895daec
Merge pull request #11403 from johscheuer/add-default-timeout-fdbback…
jzhou77 May 16, 2024
fe767fe
Add 7.1.58 to 7.1.61 release notes (#11405)
jzhou77 May 17, 2024
db7269f
Correct the path where the fdb-kubernetes-monitor copies the binary i…
johscheuer May 23, 2024
bf5abf4
Revert variable renaming
johscheuer May 24, 2024
1e3f013
Improve checkall tool (#11440)
kakaiu Jun 11, 2024
4e89a10
Add exponential backoff mechanism for restarting fdbserver processes …
johscheuer Jun 12, 2024
a22fd42
Remove some steps are only needed once
johscheuer Jun 10, 2024
3af2e0a
fdbkubernetesmonitor: Update the pod annotation if the cluster file c…
johscheuer Jun 12, 2024
cc63a3d
Initial add of custom prometheus metrics
johscheuer Jun 11, 2024
4678560
Add support in the fdb-kubernetes-monitor to read node labels
johscheuer May 24, 2024
186f2f4
Restructure approach to be compatible with operator setup
johscheuer May 24, 2024
e5a4883
Correct name of the flag
johscheuer May 24, 2024
455157c
Add unit tests for PodClient
johscheuer Jun 3, 2024
553dd40
only setup node informer if node watch feature is enabeld
johscheuer Jun 3, 2024
958ecd7
Add additional tests for PodClient
johscheuer Jun 3, 2024
e8045cb
Update format
johscheuer Jun 13, 2024
fbb8ae5
Add client metric test(release-7.1) (#11466)
flowguru Jul 3, 2024
10b98f2
Add a mechanism to allow to specifiy the command line flags over env …
johscheuer Jun 14, 2024
895a0c4
add TLS ability to fdb kubernetes monitor
nicmorales9 Jun 5, 2024
bb43d92
review fixes
nicmorales9 Jun 14, 2024
68b2b6c
move certloader to internal folder
nicmorales9 Jun 14, 2024
f72d378
fdbkubernetesmonitor: Retry update pod annotations in case of an erro…
johscheuer Jun 18, 2024
2688754
Add support for the isolate process group annotation to shutdown fdbs…
johscheuer Jun 24, 2024
bcb9d35
fdb-kubernetes-monitor: Ensure that the annotations are updated when …
johscheuer Jul 4, 2024
6fef3a9
patch image for building after EOL
ammolitor Jul 10, 2024
e2a5bbd
cherrypick Add consistency-check-urgent-mode to tester process class …
kakaiu Jul 12, 2024
7aad24e
lower the sample rate of client metric in simulation (#11524)
flowguru Jul 23, 2024
c9383ec
disable AVX for 7.1.62 release
foundationdb-ci Jul 30, 2024
1accd8c
enable AVX and update version for 7.1.63 release
foundationdb-ci Jul 30, 2024
607c418
[RELEASE-7.1] Change the default base image to RockyLinux9 (#11550)
johscheuer Aug 2, 2024
bdd27f5
update version after 7.1.63 release
foundationdb-ci Aug 2, 2024
6d49a76
Add more trace events for exclude command
jzhou77 Aug 13, 2024
0e93c68
Fix a cluster controller crash in status server
jzhou77 Aug 13, 2024
5b07305
Merge pull request #11570 from jzhou77/release-7.1
jzhou77 Aug 20, 2024
e70e538
Fix fdbbackup crashes [release-7.1] (#11591)
jzhou77 Sep 10, 2024
008354e
Fix TracedTooManyLines in simulation (#11659)
jzhou77 Sep 13, 2024
3cf2871
disable AVX for 7.1.64 release
foundationdb-ci Nov 14, 2024
20349bd
enable AVX and update version for 7.1.65 release
foundationdb-ci Nov 14, 2024
6cef7c3
Merge branch apple-7.1.65 into ow-fork-7.1
MarkSh1 Apr 3, 2025
e5fe84f
fixed boost download url
MarkSh1 Apr 3, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ else()
endif()

project(foundationdb
VERSION 7.1.63
VERSION 7.1.65
DESCRIPTION "FoundationDB is a scalable, fault-tolerant, ordered key-value store with full ACID transactions."
HOMEPAGE_URL "http://www.foundationdb.org/"
LANGUAGES C CXX ASM)
Expand Down
2 changes: 1 addition & 1 deletion cmake/CompileBoost.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ function(compile_boost)
include(ExternalProject)
set(BOOST_INSTALL_DIR "${CMAKE_BINARY_DIR}/boost_install")
ExternalProject_add("${COMPILE_BOOST_TARGET}Project"
URL "https://boostorg.jfrog.io/artifactory/main/release/1.78.0/source/boost_1_78_0.tar.bz2"
URL "https://archives.boost.io/release/1.78.0/source/boost_1_78_0.tar.bz2"
URL_HASH SHA256=8681f175d4bdb26c52222665793eef08490d7758529330f98d3b29dd0735bccc
CONFIGURE_COMMAND ${BOOTSTRAP_COMMAND} ${BOOTSTRAP_ARGS} --with-libraries=${BOOTSTRAP_LIBRARIES} --with-toolset=${BOOST_TOOLSET}
BUILD_COMMAND ${B2_COMMAND} toolset=${BOOST_TOOLSET} link=static ${COMPILE_BOOST_BUILD_ARGS} --prefix=${BOOST_INSTALL_DIR} ${USER_CONFIG_FLAG} install
Expand Down
2 changes: 1 addition & 1 deletion documentation/sphinx/extensions/rubydomain.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,4 +711,4 @@ def get_objects(self):


def setup(app):
app.add_domain(RubyDomain)
app.add_domain(RubyDomain)
12 changes: 8 additions & 4 deletions fdbbackup/backup.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -4103,10 +4103,12 @@ int main(int argc, char* argv[]) {
// where the fdbbackup command hangs infinitely. 60 seconds should be more than
// enough for all cases to finish and 5 retries should also be good enough for
// most cases.
int64_t timeout = 60000;
db->setOption(FDBDatabaseOptions::TRANSACTION_TIMEOUT,
Optional<StringRef>(StringRef((const uint8_t*)60000, 8)));
Optional<StringRef>(StringRef((const uint8_t*)&timeout, sizeof(timeout))));
int64_t retryLimit = 5;
db->setOption(FDBDatabaseOptions::TRANSACTION_RETRY_LIMIT,
Optional<StringRef>(StringRef((const uint8_t*)5, 8)));
Optional<StringRef>(StringRef((const uint8_t*)&retryLimit, sizeof(retryLimit))));
}

return result.present();
Expand All @@ -4127,10 +4129,12 @@ int main(int argc, char* argv[]) {
// where the fdbbackup command hangs infinitely. 60 seconds should be more than
// enough for all cases to finish and 5 retries should also be good enough for
// most cases.
int64_t timeout = 60000;
sourceDb->setOption(FDBDatabaseOptions::TRANSACTION_TIMEOUT,
Optional<StringRef>(StringRef((const uint8_t*)60000, 8)));
Optional<StringRef>(StringRef((const uint8_t*)&timeout, sizeof(timeout))));
int64_t retryLimit = 5;
sourceDb->setOption(FDBDatabaseOptions::TRANSACTION_RETRY_LIMIT,
Optional<StringRef>(StringRef((const uint8_t*)5, 8)));
Optional<StringRef>(StringRef((const uint8_t*)&retryLimit, sizeof(retryLimit))));
}

return result.present();
Expand Down
6 changes: 6 additions & 0 deletions fdbcli/ExcludeCommand.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ ACTOR Future<bool> excludeServersAndLocalities(Reference<IDatabase> db,
state Reference<ITransaction> tr = db->createTransaction();
loop {
tr->setOption(FDBTransactionOptions::SPECIAL_KEY_SPACE_ENABLE_WRITES);
tr->setOption(FDBTransactionOptions::PRIORITY_SYSTEM_IMMEDIATE);
try {
if (force && servers.size())
tr->set(failed ? fdb_cli::failedForceOptionSpecialKey : fdb_cli::excludedForceOptionSpecialKey,
Expand Down Expand Up @@ -78,6 +79,7 @@ ACTOR Future<bool> excludeServersAndLocalities(Reference<IDatabase> db,
: "Type `exclude FORCE failed <ADDRESS...>' to exclude without performing safety checks.");
return false;
}
TraceEvent(SevWarn, "ExcludeServersAndLocalitiesError").error(err);
wait(safeThreadFutureToFuture(tr->onError(err)));
}
}
Expand Down Expand Up @@ -107,6 +109,7 @@ ACTOR Future<std::vector<std::string>> getExcludedServers(Reference<IDatabase> d
}
return exclusions;
} catch (Error& e) {
TraceEvent(SevWarn, "GetExcludedServersError").error(e);
wait(safeThreadFutureToFuture(tr->onError(e)));
}
}
Expand Down Expand Up @@ -137,6 +140,7 @@ ACTOR Future<std::vector<std::string>> getExcludedLocalities(Reference<IDatabase
}
return excludedLocalities;
} catch (Error& e) {
TraceEvent(SevWarn, "GetExcludedLocalitiesError").error(e);
wait(safeThreadFutureToFuture(tr->onError(e)));
}
}
Expand Down Expand Up @@ -186,6 +190,7 @@ ACTOR Future<std::set<NetworkAddress>> checkForExcludingServers(Reference<IDatab

wait(delayJittered(1.0)); // SOMEDAY: watches!
} catch (Error& e) {
TraceEvent(SevWarn, "CheckForExcludingServersError").error(e);
wait(safeThreadFutureToFuture(tr->onError(e)));
}
}
Expand All @@ -206,6 +211,7 @@ ACTOR Future<Void> checkForCoordinators(Reference<IDatabase> db, std::set<Addres
coordinatorList = NetworkAddress::parseList(coordinators.get().toString());
break;
} catch (Error& e) {
TraceEvent(SevWarn, "CheckForCoordinatorsError").error(e);
wait(safeThreadFutureToFuture(tr->onError(e)));
}
}
Expand Down
2 changes: 2 additions & 0 deletions fdbcli/Util.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ ACTOR Future<bool> getWorkers(Reference<IDatabase> db, std::vector<ProcessData>*

return true;
} catch (Error& e) {
TraceEvent(SevWarn, "GetWorkersError").error(e);
wait(safeThreadFutureToFuture(tr->onError(e)));
}
}
Expand All @@ -181,6 +182,7 @@ ACTOR Future<Void> getStorageServerInterfaces(Reference<IDatabase> db,
}
return Void();
} catch (Error& e) {
TraceEvent(SevWarn, "GetStorageServerInterfacesError").error(e);
wait(safeThreadFutureToFuture(tr->onError(e)));
}
}
Expand Down
1 change: 1 addition & 0 deletions fdbclient/NativeAPI.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2043,6 +2043,7 @@ void DatabaseContext::setOption(FDBDatabaseOptions::Option option, Optional<Stri
if (defaultFor >= 0) {
ASSERT(FDBTransactionOptions::optionInfo.find((FDBTransactionOptions::Option)defaultFor) !=
FDBTransactionOptions::optionInfo.end());
TraceEvent(SevDebug, "DatabaseContextSetPersistentOption").detail("Option", option).detail("Value", value);
transactionDefaults.addOption((FDBTransactionOptions::Option)defaultFor, value.castTo<Standalone<StringRef>>());
} else {
switch (option) {
Expand Down
3 changes: 3 additions & 0 deletions fdbclient/ReadYourWrites.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2417,6 +2417,7 @@ void ReadYourWritesTransaction::setOption(FDBTransactionOptions::Option option,
}

void ReadYourWritesTransaction::setOptionImpl(FDBTransactionOptions::Option option, Optional<StringRef> value) {
TraceEvent(SevVerbose, "TransactionSetOption").detail("Option", option).detail("Value", value);
switch (option) {
case FDBTransactionOptions::READ_YOUR_WRITES_DISABLE:
validateOptionValueNotPresent(value);
Expand Down Expand Up @@ -2454,11 +2455,13 @@ void ReadYourWritesTransaction::setOptionImpl(FDBTransactionOptions::Option opti

case FDBTransactionOptions::TIMEOUT:
options.timeoutInSeconds = extractIntOption(value, 0, std::numeric_limits<int>::max()) / 1000.0;
TraceEvent(SevDebug, "TransactionTimeout").detail("TimeoutInSeconds", options.timeoutInSeconds);
resetTimeout();
break;

case FDBTransactionOptions::RETRY_LIMIT:
options.maxRetries = (int)extractIntOption(value, -1, std::numeric_limits<int>::max());
TraceEvent(SevDebug, "TransactionRetryLimit").detail("MaxRetries", options.maxRetries);
break;

case FDBTransactionOptions::DEBUG_RETRY_LOGGING:
Expand Down
2 changes: 1 addition & 1 deletion fdbserver/RocksDBCheckpointUtils.actor.h
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ ACTOR Future<Void> deleteRocksCFCheckpoint(CheckpointMetaData checkpoint);
ICheckpointReader* newRocksDBCheckpointReader(const CheckpointMetaData& checkpoint, UID logID);

RocksDBColumnFamilyCheckpoint getRocksCF(const CheckpointMetaData& checkpoint);
#endif
#endif
5 changes: 2 additions & 3 deletions fdbserver/Status.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -875,9 +875,8 @@ ACTOR static Future<JsonBuilderObject> processStatusFetcher(
}

state std::vector<OldTLogConf>::const_iterator oldTLogIter;
for (oldTLogIter = db->get().logSystemConfig.oldTLogs.begin();
oldTLogIter != db->get().logSystemConfig.oldTLogs.end();
++oldTLogIter) {
state std::vector<OldTLogConf> oldTLogs = db->get().logSystemConfig.oldTLogs;
for (oldTLogIter = oldTLogs.begin(); oldTLogIter != oldTLogs.end(); ++oldTLogIter) {
for (auto& tLogSet : oldTLogIter->tLogs) {
for (auto& it : tLogSet.tLogs) {
if (it.present()) {
Expand Down
1 change: 0 additions & 1 deletion flow/WriteOnlySet.actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
#include "flow/flow.h"
#include "flow/UnitTest.h"

#include <thread>
#include <chrono>
#include <random>
#include <thread>
Expand Down
103 changes: 49 additions & 54 deletions packaging/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,44 +16,33 @@
# See the License for the specific language governing permissions and
# limitations under the License.
#
FROM centos:7.9.2009 as base

RUN sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo

RUN yum install -y \
epel-release-7-11 \
centos-release-scl-2-3.el7.centos && \
sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && \
sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && \
sed -i s/^mirrorlist=http/#mirrorlist=http/g /etc/yum.repos.d/*.repo && \
yum install -y \
bind-utils-9.11.4-26.P2.el7_9.7 \
binutils-2.27-44.base.el7_9.1 \
curl-7.29.0-59.el7_9.1 \
gdb-7.6.1-120.el7 \
hostname-3.13-3.el7_7.1 \
jq-1.6-2.el7 \
less-458-9.el7 \
libubsan-7.3.1-5.16.el7 \
lsof-4.87-6.el7 \
net-tools-2.0-0.25.20131004git.el7 \
nmap-ncat-6.40-19.el7 \
perf-3.10.0-1160.45.1.el7 \
perl-5.16.3-299.el7_9 \
procps-ng-3.3.10-28.el7 \
strace-4.24-6.el7 \
sysstat-10.1.5-19.el7 \
tar-1.26-35.el7 \
tcpdump-4.9.2-4.el7_7.1 \
telnet-0.17-66.el7 \
traceroute-2.0.22-2.el7 \
unzip-6.0-22.el7_9 \
openssl-1.0.2k-24.el7_9.x86_64 \
vim-enhanced-7.4.629-8.el7_9 && \
yum clean all && \
rm -rf /var/cache/yum
FROM docker.io/rockylinux/rockylinux:9.4-minimal AS base

RUN microdnf install -y \
bind-utils \
binutils \
curl \
gdb \
hostname \
jq \
less \
libubsan \
lsof \
net-tools \
nmap-ncat \
perf \
perl \
procps-ng \
strace \
sysstat \
tar \
tcpdump \
telnet \
traceroute \
unzip \
openssl \
vim-enhanced && \
microdnf clean all

WORKDIR /tmp

Expand All @@ -66,13 +55,13 @@ RUN curl -Ls https://github.com/krallin/tini/releases/download/v0.19.0/tini-amd6

WORKDIR /

FROM golang:1.22.2-bullseye AS go-build
FROM golang:1.22.5-bullseye AS go-build

COPY fdbkubernetesmonitor/ /fdbkubernetesmonitor
WORKDIR /fdbkubernetesmonitor
RUN go build -o /fdb-kubernetes-monitor *.go

FROM base as foundationdb-base
FROM base AS foundationdb-base

WORKDIR /tmp
ARG FDB_VERSION=6.3.22
Expand Down Expand Up @@ -123,7 +112,7 @@ RUN curl -Ls $FDB_WEBSITE/$FDB_VERSION/libfdb_c.x86_64.so -o /usr/lib/libfdb_c.s
RUN rm -rf /tmp/*
WORKDIR /

FROM foundationdb-base as fdb-kubernetes-monitor
FROM foundationdb-base AS fdb-kubernetes-monitor

# Install the kubernetes monitor binary
COPY --from=go-build /fdb-kubernetes-monitor /usr/bin/
Expand All @@ -134,14 +123,20 @@ WORKDIR /var/fdb
VOLUME /var/fdb/data
ENTRYPOINT ["/usr/bin/fdb-kubernetes-monitor"]

FROM foundationdb-base as foundationdb-kubernetes-sidecar

RUN yum -y install \
rh-python38-2.0-4.el7 \
yum clean all && \
rm -rf /var/cache/yum && \
source /opt/rh/rh-python38/enable && \
pip3 install watchdog==0.9.0
FROM foundationdb-base AS foundationdb-kubernetes-sidecar

# We use python3.9 here as the tests with 3.12 resulted in the following error:
# error:0A000126:SSL routines::unexpected eof while reading. This could be an issue
# with the installed openssl version. Since the sidecar support will be deprecated in the
# future it's fine to use python 3.9 here.
# EOL for python 3.9 is 2025-10: https://devguide.python.org/versions/
RUN microdnf -y install \
python3.9 \
python3.9-pip && \
microdnf clean all && \
update-alternatives --install /usr/bin/python python /usr/bin/python3.9 20 && \
update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.9 20 && \
python3 -m pip install watchdog==4.0.1

WORKDIR /
ADD entrypoint.bash sidecar.py /
Expand All @@ -152,7 +147,7 @@ VOLUME /var/output-files
ENV LISTEN_PORT 8080
ENTRYPOINT ["/usr/bin/tini", "-g", "--", "/entrypoint.bash"]

FROM foundationdb-base as foundationdb
FROM foundationdb-base AS foundationdb

WORKDIR /tmp
RUN curl -LsO https://raw.githubusercontent.com/brendangregg/FlameGraph/90533539b75400297092f973163b8a7b067c66d3/stackcollapse-perf.pl && \
Expand All @@ -177,11 +172,11 @@ ENV FDB_CLUSTER_FILE_CONTENTS ""
ENV FDB_PROCESS_CLASS unset
ENTRYPOINT ["/usr/bin/tini", "-g", "--", "/var/fdb/scripts/fdb.bash"]

FROM foundationdb-base as ycsb
FROM foundationdb-base AS ycsb

RUN yum -y install \
java-11-openjdk-11.0.13.0.8-1.el7_9 && \
yum clean all && \
RUN microdnf -y install \
java-11-openjdk java-11-openjdk-devel && \
microdnf clean all && \
rm -rf /var/cache/yum

WORKDIR /tmp
Expand Down
4 changes: 0 additions & 4 deletions packaging/docker/entrypoint.bash
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,4 @@ if [[ -n "$ADDITIONAL_ENV_FILE" ]]; then
source $ADDITIONAL_ENV_FILE
fi

if [[ -f "/opt/rh/rh-python38/enable" ]]; then
source /opt/rh/rh-python38/enable
fi

exec /sidecar.py $*
14 changes: 7 additions & 7 deletions packaging/docker/kubernetes/test_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#

# This file provides an example of using a statefulset to launch FDB processes
# using the foundationdb-kubernetes image.
# using the fdb-kubernetes-monitor image.
#
# This is not a recommended way to run production clusters, but it can be useful
# to test the image in development.
Expand All @@ -43,7 +43,7 @@ spec:
spec:
containers:
- name: foundationdb
image: foundationdb/foundationdb-kubernetes:6.3.13-local
image: foundationdb/fdb-kubernetes-monitor:7.1.5-local
imagePullPolicy: IfNotPresent
args:
- --input-dir
Expand Down Expand Up @@ -91,13 +91,13 @@ spec:
- name: logs
mountPath: /var/fdb/logs
- name: foundationdb-sidecar
image: foundationdb/foundationdb-kubernetes:6.3.15-local
image: foundationdb/fdb-kubernetes-monitor:7.1.6-local
imagePullPolicy: IfNotPresent
args:
- --mode
- sidecar
- --main-container-version
- 6.3.13
- 7.1.5
- --output-dir
- /var/fdb/shared-binaries
- --copy-binary
Expand Down Expand Up @@ -139,7 +139,7 @@ data:
config.json: |
{
"runProcesses": false,
"version": "6.3.13",
"version": "7.1.5",
"arguments": [
{"value": "--cluster-file"},
{"value": "/var/fdb/data/fdb.cluster"},
Expand Down Expand Up @@ -238,8 +238,8 @@ spec:
- name: dynamic-conf
emptyDir: {}
initContainers:
- name: foundationdb-kubernetes-init
image: foundationdb/foundationdb-kubernetes:6.3.13-local
- name: fdb-kubernetes-monitor-init
image: foundationdb/fdb-kubernetes-monitor:7.1.5-local
imagePullPolicy: IfNotPresent
args:
- "--mode"
Expand Down