Commit Graph

18155 Commits

Author SHA1 Message Date
Evan Tschannen 75267aba80 fix: do not update lastReturnedVersion until the client has consumed the mutations 2021-12-07 13:03:50 -08:00
Evan Tschannen d669848ce5
Merge pull request #6118 from sfc-gh-etschannen/blob_integration
fix: merge cursors can have more mutations sent to self->mutations after it goes empty
2021-12-07 09:58:08 -08:00
Evan Tschannen fdd35070a1 fix: merge cursors can have more mutations sent to self->mutations after it goes empty 2021-12-07 09:57:39 -08:00
Evan Tschannen d77b499282
Merge pull request #6113 from sfc-gh-etschannen/blob_integration
Fixed how better master exists interacts with singleton recruitment
2021-12-06 13:56:26 -08:00
Evan Tschannen 67cd11cc20 Merge branch 'blob_integration' of https://github.com/apple/foundationdb into blob_integration 2021-12-06 13:54:51 -08:00
Evan Tschannen 130def7897 fix: make sure both conditions are true before better master exists is executed 2021-12-06 13:50:31 -08:00
Evan Tschannen 951bc4acd7 fix: do not call better master exists until the long lived stateless processes have settled into their desired locations 2021-12-06 13:12:27 -08:00
Josh Slocum 528df86a28 fix: refactored and fixed changeFeedWhenAtLatest returning early 2021-12-06 14:06:17 -06:00
Evan Tschannen 2ab3468934
Merge pull request #6107 from sfc-gh-etschannen/blob_integration
A variety of bug fixes
2021-12-05 20:57:27 -08:00
Evan Tschannen a4fff19320 Revert "fix: long lived stateless processes need to be the last comparison criteria to avoid better master exists from changing behavior from the original recruitment"
This reverts commit b55b095ed0.
2021-12-05 20:26:13 -08:00
Evan Tschannen b55b095ed0 fix: long lived stateless processes need to be the last comparison criteria to avoid better master exists from changing behavior from the original recruitment 2021-12-05 20:18:03 -08:00
Evan Tschannen 02c650c6e7 fix: sending to mutations can cause whenAtLeast to update lastReturnedVersion before we have a chance to 2021-12-05 16:16:20 -08:00
Evan Tschannen 13ef5afb9c reject blob workers joining from the wrong data center
we must run the checkblobworkers actors even on epoch 1
check for an already killed worker even right after it is recruited
2021-12-05 15:02:25 -08:00
Evan Tschannen 98b4299fb2 .error() on a trace event must be before the details 2021-12-05 14:59:46 -08:00
Evan Tschannen da9c42fd9e do not log transaction metrics in simulation 2021-12-05 14:59:24 -08:00
Evan Tschannen ff47013158 fix: check if the master has been killed while waiting for getNextBMEpoch 2021-12-04 17:08:23 -08:00
Evan Tschannen 4a2b266fa9
Merge pull request #6099 from sfc-gh-etschannen/blob_integration
fix: whenAtLeast updates lastReturnedVersion
2021-12-03 14:27:48 -08:00
Evan Tschannen f711ef56a3 fix: whenAtLeast updates lastReturnedVersion 2021-12-03 14:27:11 -08:00
Evan Tschannen 215190591f
Merge pull request #6098 from sfc-gh-etschannen/blob_integration
Blob manager periodically checks the blob worker list
2021-12-03 14:22:33 -08:00
Evan Tschannen 935ec25ae3 fix: do not re-add dead blob workers 2021-12-03 14:12:08 -08:00
Evan Tschannen 243927c964 added a knob 2021-12-03 10:31:51 -08:00
Evan Tschannen 58ea185278 Merge branch 'blob_integration' of https://github.com/apple/foundationdb into blob_integration 2021-12-03 10:29:36 -08:00
Evan Tschannen f2838740f1 fix: do not allow more than one blob worker per address 2021-12-03 10:29:22 -08:00
Josh Slocum 2d7c44af31 Fixing bug with readVersionOut being null 2021-12-02 16:42:14 -06:00
Josh Slocum 35781924af merge conflicts 2021-12-02 15:53:31 -06:00
Josh Slocum bc16e23d2c Merge branch 'master' into blob_integration 2021-12-02 15:51:18 -06:00
Josh Slocum 6db49e87d3 Enabling new BG tests 2021-12-02 15:25:48 -06:00
Josh Slocum 03f341fd3a Merge branch 'bw_new_empty_versions' into blob_integration 2021-12-02 15:01:31 -06:00
Josh Slocum 0c46b89601 Adding new BG tests 2021-12-02 14:59:53 -06:00
Josh Slocum d85eb330e0 retooling some waitForVersion stuff and adding asserts 2021-12-02 14:52:16 -06:00
Evan Tschannen b11ae4dae8
Merge pull request #5910 from sfc-gh-jslocum/bg_bindings
Blob Granule C bindings
2021-12-02 11:40:26 -08:00
Josh Slocum 9f6c8a123b Fix: change feed update ordering 2021-12-02 13:29:30 -06:00
Josh Slocum f43169cb7b bug fixes 2021-12-02 12:40:37 -06:00
Trevor Clinkenbeard ec02d72338
Merge pull request #6082 from sfc-gh-tclinkenbeard/fix-unused-warnings
Fix `-Wunused-but-set-variable` warnings
2021-12-02 10:27:10 -08:00
Josh Slocum a8b1154728 Fix C++ style comments. 2021-12-02 12:18:08 -06:00
Josh Slocum 632f701c8a First pass at using ChangeFeedData in blob worker 2021-12-02 11:42:16 -06:00
Josh Slocum 85c6e30aec Fix: several empty version issues with large single-version change feed entries 2021-12-02 09:56:15 -06:00
Josh Slocum 24772e0f22 Merge branch 'master' into bg_bindings 2021-12-02 09:38:33 -06:00
sfc-gh-tclinkenbeard 464d9488ef Merge remote-tracking branch 'origin/master' into fix-unused-warnings 2021-12-01 23:52:09 -08:00
FoundationDB CI ca5d5ac942
apply formatting with clang 13
Signed-off-by: FoundationDB CI <foundationdb_ci@apple.com>
2021-12-02 05:13:59 +00:00
sfc-gh-tclinkenbeard 90ced244eb Fix -Wunused-but-set-variable warnings 2021-12-01 18:15:53 -08:00
Josh Slocum 9cb6fb5114 fixing unrelated code formatting 2021-12-01 17:20:11 -06:00
Josh Slocum 2c63d0ae03 cleaning up prints 2021-12-01 17:17:19 -06:00
Josh Slocum c11b8a3625 Improved comments 2021-12-01 17:04:55 -06:00
Josh Slocum a82845af43 Merge branch 'master' into bg_bindings 2021-12-01 16:55:28 -06:00
Josh Slocum 7a8fbd9a29
Merge pull request #2 from sfc-gh-jslocum/bg_bindings_result
Bg bindings result
2021-12-01 16:33:53 -06:00
Josh Slocum 73aa5017fe forgot to remove comment 2021-12-01 16:25:51 -06:00
Josh Slocum 0f2f5bc0b6 Cleanup of ThreadResult 2021-12-01 16:24:28 -06:00
Josh Slocum 7f4fcc8c2c Added FDBResult and made readBlobGranules use it 2021-12-01 16:22:05 -06:00
Evan Tschannen 404bef2f03
Merge pull request #6076 from sfc-gh-ajbeamon/fix-cstate-registration-race
Fix a race condition with updating the coordinated state and updating the master registration
2021-12-01 12:56:12 -08:00