Commit Graph

15314 Commits

Author SHA1 Message Date
A.J. Beamon d55b94fc06 Add release note 2021-05-14 12:38:26 -07:00
A.J. Beamon a162682d6d Fix accounting for time spent in run loop after breaking due to yield 2021-05-14 11:12:47 -07:00
Alex Moundalexis 70e53605cf
updated copyright year on web site 2021-05-14 10:50:46 -04:00
Andrew Noyes 25f89421cb
Merge pull request #4822 from sfc-gh-anoyes/anoyes/aarch64-fat-jar
Put aarch64 libfdb_java in the right place for fat jar
2021-05-13 17:38:01 -07:00
Andrew Noyes e892ca00e4 Use proper string equality 2021-05-14 00:03:03 +00:00
Renxuan Wang dad265b1c6
Merge pull request #4811 from RenxuanW/worker-fix
Only log timeout when CC is unknown for a worker.
2021-05-13 16:31:49 -07:00
Andrew Noyes 4163270c02 Put aarch64 libfdb_java in the right place for fat jar 2021-05-13 23:13:14 +00:00
Sreenath Bodagala 6275adc5a0 Address build failure
LogSystemPeekCursor.actor.cpp:
Check if "interf" is set before referencing it.
2021-05-13 21:38:07 +00:00
Sreenath Bodagala bdb5517f1e Provide a better explanation of the new metrics in the release notes. 2021-05-13 19:38:05 +00:00
RenxuanW 8a15d7d14b Bring #4518 (Logging more detailed information during Tlog recruitment) back. 2021-05-13 12:20:31 -07:00
Sreenath Bodagala 99f6032239 Report bounce impact info as part of cluster JSON object. 2021-05-13 16:47:05 +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
RenxuanW cc6497ddfb Only log timeout when CC is unknown for a worker. 2021-05-12 16:24:13 -07:00
Andrew Noyes 061afda2ec
Fix several package issues (#4801)
* Make the structure of the server pkg match 6.2.28

* Fix OSX lib path

* Fix install destinations in client

Previously, backup_agent would map to fdbmonitor installation dir -
which is incorrect in the sense that it disagrees with where the default
foundationdb.conf expects to find backup_agent. Add a new backupagent
installation dir and install there, matching foundationdb.conf's
expectations.

Also fix an issue where several of the versions of fdbbackup weren't
being installed

* Update packaging/osx/buildpkg.sh for cmake

* Update README instructions for pkg file

* Remove osx cpack config

* Remove pm install destinations

* Fix weird syntax

* Remove cpack reference to PM

* Address review comments
2021-05-12 11:41:26 -05:00
Sreenath Bodagala 78ef6822f6 Capture how fast an SS is catching up to its tLog-SS lag
Changes:

storagegroupserver.actor.cpp:

- Report "fetchedVersions" and "duration" as part of StorageMetrics
trace event.

- Report "sourceTLogID" as a separte trace event (and report this
only when it changes)..
2021-05-12 16:40:33 +00:00
Russell Sears 947eace82d
Merge pull request #4807 from Daniel-B-Smith/patch-1
Set connectionFile instead of creating a shadow
2021-05-12 08:58:57 -07:00
Daniel Smith 4361dcca2e
Set connectionFile instead of creating a shadow 2021-05-12 11:54:55 -04:00
Lukas Joswiak 6499fa178e
Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage
Revert "Merge pull request #4136 from sfc-gh-mpilman/features/actor-l…
2021-05-11 18:50:42 -07:00
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