Commit Graph

3528 Commits

Author SHA1 Message Date
sfc-gh-tclinkenbeard 371a38e6e5 Merge remote-tracking branch 'origin/master' into remove-extra-copies 2021-06-07 10:26:06 -07:00
Trevor Clinkenbeard 866f536983
Merge pull request #4888 from sfc-gh-tclinkenbeard/remove-fdbserver-includes
Remove fdbserver includes from fdbclient
2021-06-07 10:22:13 -07:00
Andrew Noyes 402622ace9
Merge pull request #4909 from apple/anoyes/fix-ub
Fix several instances of undefined behavior
2021-06-07 08:58:45 -07:00
Xiaoxi Wang 838d847d4e
Merge pull request #4860 from sfc-gh-xwang/ppwtest
implement perpetual storage wiggling feature
2021-06-04 16:18:39 -07:00
Josh Slocum 9b36f69b8d
Merge pull request #4892 from sfc-gh-jslocum/tss_mappingv2
TSS Mapping Change
2021-06-04 14:57:51 -07:00
Xiaoxi Wang 5be65fab5e add comment 2021-06-04 18:40:18 +00:00
Andrew Noyes fbe96939ba Avoid likely use after destruction
This manifested in UBSAN as use of an invalid vptr, which usually means
use after destruction. Give shared ownership to the getDesired actor to
avoid use after destruction. It is not clear to me when this doesn't
seem to manifest as a heap-use-after-free in e.g. ASAN or valgrind.
2021-06-04 09:54:06 -07:00
Andrew Noyes 5a8fa8f968 Fix call to memcpy with null as second argument 2021-06-04 09:41:10 -07:00
Lukas Joswiak 68344cc5e6 clang-format 2021-06-03 14:27:24 -07:00
Lukas Joswiak 12163ed565 Rename variable 2021-06-03 14:27:24 -07:00
Lukas Joswiak ba25b95c6a Fix global config not updating on server processes 2021-06-03 14:27:24 -07:00
Xiaoxi Wang 365b0bc4d8 better api 2021-06-03 19:57:44 +00:00
Josh Slocum a3a5519b7c Fixing valgrind error in TSS StorageServerInterface unit test 2021-06-03 15:56:27 +00:00
Josh Slocum ac209b32fd Addressing review comments 2021-06-03 15:31:16 +00:00
Xiaoxi Wang 351325b3af comment modification; wait perpetual wiggling close 2021-06-03 05:13:20 +00:00
sfc-gh-tclinkenbeard 3fd7a5cce1 Update copyright headers 2021-06-02 10:32:34 -07:00
Josh Slocum b3e4f182ef TSS Mapping Change 2021-06-02 17:30:09 +00:00
sfc-gh-tclinkenbeard 94888b1f02 Move tag throttling classes into fdbclient/TagThrottle.h 2021-06-02 10:13:56 -07:00
Chaoguang Lin 5f04c2c7f5
Merge pull request #4877 from sfc-gh-clin/fix-datadistribution-special-key
Fix the place when changing dd system key without changing the lock key
2021-06-01 15:52:33 -07:00
Xiaoxi Wang 8b9c8b33fc manually merge with master 2021-06-01 17:51:42 +00:00
Josh Slocum d67184163b
Merge pull request #4556 from sfc-gh-jslocum/tss
Testing Storage Server
2021-06-01 09:11:10 -07:00
sfc-gh-tclinkenbeard 594e8944ae Move RestoreWorkerInterface into fdbserver 2021-05-30 11:51:47 -07:00
sfc-gh-tclinkenbeard 927a89f28c Remove fdbserver include from fdbclient/CommitProxyInterface.h 2021-05-30 08:44:42 -07:00
sfc-gh-tclinkenbeard 5916c9903b Make FASTRESTORE_ATOMICOP_WEIGHT a client knob 2021-05-30 08:40:24 -07:00
A.J. Beamon fe811143a5
Merge pull request #4879 from sfc-gh-ajbeamon/reduce-client-read-failure-frequency
Reduce the frequency that buggified reads are failed
2021-05-28 15:02:45 -07:00
Evan Tschannen 4a753a0bce
Merge pull request #4623 from dlambrig/issue4252
CDs reject requests using different connection descriptor
2021-05-28 10:45:51 -07:00
Dan Lambright cc3175fc50 remove forwarding 2021-05-28 11:41:42 -04:00
A.J. Beamon 750901dd1d Reduce the frequency that buggified reads are failed so that transactions with a lot of reads aren't doomed to almost always fail. 2021-05-27 21:54:59 -07:00
Chaoguang Lin 5262e41098 Grab moveKeysLockOwnerKey and moveKeysLockWriteKey when update dd related system keys 2021-05-27 17:25:08 +00:00
Dan Lambright 10289ef8f1 Respond to AJs comments 2021-05-27 09:14:32 -04:00
Dan Lambright 64c10d3625 fix joshua failures, formatting 2021-05-27 08:08:07 -04:00
Dan Lambright 53d0ecc2fa respond to comments made on 5/4 2021-05-27 08:08:07 -04:00
Dan Lambright fc65154b5d forward back new coordinator 2021-05-27 08:08:07 -04:00
Dan Lambright fcfb78162c misc cleanup for publishing 2021-05-27 08:08:07 -04:00
Dan Lambright 742c22cef2 Don't allow changing desriptor if knob is set 2021-05-27 08:08:07 -04:00
Xiaoxi Wang 24c0c3361a change quietdatabase 2021-05-25 21:20:24 +00:00
Josh Slocum 4257ac2b4d More TSS Changes/Fixes 2021-05-25 20:37:48 +00:00
Josh Slocum ce82c9653e Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
Meng Xu ac15642273
Merge pull request #4850 from jzhou77/apiversion
Only enable backup worker when using partitioned logs
2021-05-24 15:07:43 -07:00
Markus Pilman e1254d38a0
Merge pull request #4838 from sfc-gh-xwang/ppwiggle
perpetual storage wiggling command line support
2021-05-24 14:48:00 -06:00
Jingyu Zhou bb076115c9 Only enable backup worker when using partitioned logs
This addresses issue #4849.
2021-05-21 16:40:29 -07:00
A.J. Beamon 4133e79c1f
Merge pull request #4770 from sbodagala/master
Expose "bounce impact" and Storage Server "version catch-up rate" metrics
2021-05-21 08:34:18 -07:00
Xiaoxi Wang a57061a5ed change UID to PID meaning Process ID 2021-05-20 00:06:53 +00:00
Xiaoxi Wang 93c809764f fix Schema check error 2021-05-19 23:52:16 +00:00
Sreenath Bodagala 2fa80e7912 Address review comments 2021-05-19 22:04:43 +00:00
Sreenath Bodagala 622f43474a Expose "bounce impact" and Storage Server "version catch-up rate" metrics
Changes:

Schemas.cpp: Extend the JSON schema to report the new metrics that have
been added.

mr-status-json-schemas.rst.inc: Update the schema to reflect the changes
made to the JSON schema.

release-notes-700.rst: Add a note about the new metrics in "Status"
section.
2021-05-19 19:54:49 +00:00
Xiaoxi Wang 6065d247f8 fix perpetualStorageWiggleKey 2021-05-17 20:59:38 +00:00
Xiaoxi Wang 8b1f9f7337 Add command line support 2021-05-17 20:57:54 +00:00
Sreenath Bodagala d8cad8efca Report bounce impact info as part of cluster JSON object. 2021-05-13 16:36:57 +00:00
Sreenath Bodagala 160293bd54 Report bounce impact in fdbcli status
Changes:

Schemas.cpp: Extend the JSON schema to report whether the cluster is
bounceable and if not, report the reason for why it is not bounceable.

Status.actor.cpp: Extend recoveryStateStatusFetcher() to populate the
bounce related field(s).

mr-status-json-schemas.rst.inc: Update the schema to reflect the change
made in Schemas.cpp.

release-notes-700.rst: Add a note about the new status fields in "Status"
section.
2021-05-13 14:28:06 +00:00