Commit Graph

15245 Commits

Author SHA1 Message Date
Andrew Noyes 1512631957
Merge pull request #4557 from sfc-gh-clin/refactor-fdbcli
Refactor consistency command
2021-05-11 17:09:56 -07:00
Chaoguang Lin 42eced15c9 Update comments and trigger CI 2021-05-11 16:46:07 -07:00
Chaoguang Lin 6e10a8abf1 fix header's include order 2021-05-11 14:38:21 -07:00
Chaoguang Lin 9a6151d3fc Update fdbcli.h to fdbcli.actor.h, removed the unnecessary wrapper 2021-05-11 14:31:08 -07:00
Sreenath Bodagala b0554b4554 Capture how fast an SS is catching up to its tLog-SS lag
Changes:
LogSystem.h, LogSystemPeekCursor.actor.cpp:
Add APIs to find the ID of the tLog from which an SS has fetched the latest
set of versions.

storageserver.actor.cpp:
Capture the number of latest set of versions fetched, the time (in seconds)
in which those versions were fetched, and the tLog from which they were
fetched. Add this information to a TraceLogEvent.

Capture how many versions an SS has fetched in the
2021-05-11 20:03:21 +00:00
Chaoguang Lin ed3415c93e Guard the added unit test by NOT OPEN_FOR_IDE 2021-05-11 12:21:09 -07:00
Chaoguang Lin 804354f9b2 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli 2021-05-11 12:14:59 -07:00
Chaoguang Lin 8002a389d4 add comments for error handling in ConsistencyCheckCommand.actor.cpp 2021-05-11 12:12:33 -07:00
Chaoguang Lin 359abfb008 Update FDB_API_VERSION to 710 2021-05-11 12:08:48 -07:00
A.J. Beamon 625edc1fed
Merge pull request #4787 from jzhou77/apiversion
Add a tool for changing API versions in the code base
2021-05-11 08:42:18 -07:00
Lukas Joswiak 4ea760b2a9 Revert "Merge pull request #4136 from sfc-gh-mpilman/features/actor-lineage"
This reverts commit da41534618, reversing
changes made to e6300905d6.
2021-05-10 20:26:12 -07:00
Daniel Smith ba0aceccbe
Add ASAN and TSAN to the build container (#4796)
* Add ASAN and TSAN to the build container

* Add ASAN and TSAN to the centos6 build container
2021-05-10 18:04:01 -05:00
Evan Tschannen 1fe80e847b
Merge pull request #4793 from apple/revert-4782-fixes/global-config-processes
Revert "Fix global config not triggering changes on server processes"
2021-05-10 13:18:32 -07:00
Chaoguang Lin b5767e2a64 Add documentation for getTransaction function, which is used for refactoring 2021-05-10 12:29:46 -07:00
Lukas Joswiak cdf98f987d
Revert "Fix global config not triggering changes on server processes" 2021-05-10 12:18:28 -07:00
Jingyu Zhou ccb092a2c8 Fix file name 2021-05-10 09:01:24 -07:00
Jingyu Zhou d07f527a98 Fix raw_input 2021-05-08 16:32:03 -07:00
Jingyu Zhou 98665f9bae Convert apiversioner.py to Python 3 2021-05-08 16:31:53 -07:00
Jingyu Zhou fe7419262d Add tool for upgrading API versions 2021-05-08 16:31:43 -07:00
Markus Pilman ccfc48d89a
Merge pull request #4782 from sfc-gh-ljoswiak/fixes/global-config-processes
Fix global config not triggering changes on server processes
2021-05-07 21:15:36 -06:00
Lukas Joswiak 3f6ef14384 Fix OOM 2021-05-07 16:28:39 -07:00
Lukas Joswiak 71ba6f4501 Switch std::function to AsyncTrigger 2021-05-07 16:05:03 -07:00
Chaoguang Lin 520c4fc2b9 Fix typo in the variable name 2021-05-07 16:03:52 -07:00
Andrew Noyes 2fdadc8e97
Merge pull request #4786 from sfc-gh-ezhang/master
Fix OPEN_FOR_IDE option for cmake
2021-05-07 15:49:56 -07:00
Edwin Zhang 3d9619790d Fix OPEN_FOR_IDE option for cmake 2021-05-07 17:54:59 -04:00
Vishesh Yadav 5ca3b671d1
Merge pull request #4730 from neethuhaneesha/master
Adding TraceEvent when a worker is removed from cluster controller.
2021-05-06 22:46:32 -07:00
sfc-gh-ngoyal 3861e06077
Merge pull request #4760 from sfc-gh-satherton/redwood-queue-shutdown-crash
Refactor FIFOQueue::Cursor read/write operations
2021-05-06 22:46:09 -07:00
Neethu Haneesha Bingi 3c94a09baf Using failedWorkerInfo before its gets erased 2021-05-06 17:04:25 -07:00
Neethu Haneesha Bingi d975e563cc Rename of variables in trace event. 2021-05-06 16:48:36 -07:00
Neethu Haneesha Bingi 7a6d7cae96 Added worker network address and process class details to trace log. 2021-05-06 16:48:36 -07:00
Neethu Haneesha Bingi 97cd53d649 Adding TraceEvent when a worker is removed from cluster controller. 2021-05-06 16:48:35 -07:00
Chaoguang Lin 73fdb55f4b Add headers in new files 2021-05-06 16:43:56 -07:00
Chaoguang Lin 478397a81e fix merging conflict 2021-05-06 16:35:28 -07:00
Chaoguang Lin 24247057ff Add two safeThreadFuture unit tests into ctest 2021-05-06 16:34:13 -07:00
Lukas Joswiak 0fc1552683 Fix global config updates not triggering on fdbserver processes 2021-05-06 15:46:34 -07:00
Chaoguang Lin 7da5004690 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli 2021-05-06 15:44:26 -07:00
Andrew Noyes e9b07dc77c
Merge pull request #4765 from sfc-gh-clin/add-documentation-for-existing-special-keys
Add documentation for existing special keys
2021-05-06 11:51:32 -07:00
Chaoguang Lin c697d3e518 Merge branch 'master' of github.com:apple/foundationdb into add-documentation-for-existing-special-keys 2021-05-06 10:53:30 -07:00
A.J. Beamon dc3cebe8d9
Merge pull request #4752 from jzhou77/7-1-version-upgrade
Upgrade api version from 700 to 710
2021-05-06 09:48:10 -07:00
Steve Atherton 16f9f6e75c Added a test of Arena dependencies and destruction when using the new aligned buffer feature. 2021-05-06 02:05:09 -07:00
Steve Atherton e0e3cd39f1 Cherry picked #4678 changes onto #4780 to resolve conflicts. 2021-05-05 22:02:44 -07:00
Jingyu Zhou 548d363dc3 Update cmake target to 7.1 2021-05-05 21:15:01 -07:00
Jingyu Zhou 682558803a Update documentation/sphinx/source/developer-guide.rst
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2021-05-05 21:15:00 -07:00
Jingyu Zhou f742758073 Update documentation/sphinx/source/administration.rst
Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2021-05-05 21:15:00 -07:00
Jingyu Zhou 3ce31cb347 Upgrade api version from 700 to 710 2021-05-05 21:15:00 -07:00
Steve Atherton 799e7cc213 BTreeCursor now exposes the current Page and Mirror arenas so that users extracting Standalone Keys and Values can just reference those instead of copying. 2021-05-05 21:05:32 -07:00
Andrew Noyes b194a313d8
Merge pull request #4746 from sfc-gh-ljoswiak/fixes/boost
Fix boost download links
2021-05-05 16:05:34 -07:00
Lukas Joswiak a274c4768d Fix remaining download links 2021-05-05 15:51:00 -07:00
Evan Tschannen 387f62b1b4
Merge pull request #4772 from sfc-gh-tclinkenbeard/add-trace-kind-field
Use default initializer for TraceEvent::errorKind
2021-05-05 15:25:57 -07:00
Steve Atherton f8a8bf315b Added Arena::allocateAlignedBuffer() to get an aligned memory block owned by an Arena, and ArenaPage uses this. 2021-05-05 15:00:12 -07:00