Commit Graph

9368 Commits

Author SHA1 Message Date
Xin Dong 89861c661e Fix the random crash. Use a thread safe 'ThreadReturnPromise' instead of the ThreadFuture. 2020-03-16 13:36:55 -07:00
A.J. Beamon ee3cde0b0d
Merge pull request #2815 from etschannen/feature-timeout-tlog-create
Treat a tlog which takes a long time to create its disk queue as failed
2020-03-16 12:49:33 -07:00
Alex Miller 72326fe8af Fix the build. 2020-03-16 12:46:13 -07:00
Alex Miller db5863145a Merge remote-tracking branch 'upstream/release-6.2' into fdbcli-tlsinfo 2020-03-16 12:33:50 -07:00
A.J. Beamon ec27125102
Update documentation/sphinx/source/mr-status-json-schemas.rst.inc 2020-03-16 12:15:40 -07:00
Evan Tschannen a068d4063f renamed ProxyGetConsistentReadVersion 2020-03-16 12:11:32 -07:00
Evan Tschannen 77dde00da7
Merge pull request #2818 from ajbeamon/increase-metrics-priority
Increase priority of the logging of various metrics trace events
2020-03-16 11:57:37 -07:00
Evan Tschannen 7adc916e18
Merge pull request #2806 from ajbeamon/improve-team-request-performance
Improve performance of get team requests.
2020-03-16 11:56:45 -07:00
A.J. Beamon fe19f30999
Merge pull request #2813 from etschannen/feature-satellite-usable-regions
do not recruit satellite tlogs when usable regions=1
2020-03-16 11:54:42 -07:00
Evan Tschannen 012344e297 refactor getWorkersForRoleInDatacenter 2020-03-16 11:50:17 -07:00
A.J. Beamon f2defc3a3a
Merge pull request #2814 from etschannen/feature-delay-recovery
Prevent coordinated state from filling up with too many old generations
2020-03-16 11:45:17 -07:00
Evan Tschannen bbb07e860b
Update documentation/sphinx/source/mr-status-json-schemas.rst.inc 2020-03-16 11:42:27 -07:00
Evan Tschannen ea98c7a40a added additional timeout on initPersistentState 2020-03-16 11:38:14 -07:00
A.J. Beamon 682b9faa1a
Merge pull request #2817 from etschannen/feature-fix-0-left
fix: do not use priority 0 left when calculating priorities for empty teams
2020-03-16 11:15:12 -07:00
A.J. Beamon 5f4373c200
Merge pull request #2811 from alexmiller-apple/tls-failures-status
Add TLS Policy Failure count to ProcessMetrics and status json
2020-03-16 11:11:30 -07:00
Evan Tschannen 56dee89e6e active generations should include the current one 2020-03-16 11:09:42 -07:00
Evan Tschannen 76db8343c0 update status schema 2020-03-16 11:00:51 -07:00
Evan Tschannen e5d53c863b report in status the number of active generations 2020-03-16 10:29:17 -07:00
Meng Xu 15c48b9e19 Add event for getDesired coordinators 2020-03-16 09:40:35 -07:00
Markus Pilman 75baa99925 give user sudo access in docker container 2020-03-15 17:56:44 +00:00
Markus Pilman cda45481f6 revert to run with sudo
`docker` group is non-standard so sudo seems to be the most portable option`
2020-03-15 17:45:18 +00:00
Evan Tschannen 818537ed2d
Update fdbserver/masterserver.actor.cpp
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-03-14 15:04:46 -07:00
Evan Tschannen 0ca89547a5 make sure the number of logRouterTags is larger than the number of satelliteTLogs to avoid having satellites with no data. 2020-03-14 15:02:19 -07:00
Evan Tschannen 04b752b40a Added additional logging related to memory errors (including in status) 2020-03-13 18:31:22 -07:00
Evan Tschannen a71e61f57b fixed compiler issue 2020-03-13 18:22:38 -07:00
Evan Tschannen ebbf4490b3 use a Deque for each priority instead of a priority queue to improve CPU with large numbers of outstanding requests 2020-03-13 18:07:48 -07:00
Evan Tschannen 79d5511149 A "proxy" class process would not be preferred as the "first proxy" for restore and DR purposes 2020-03-13 17:49:02 -07:00
Markus Pilman f9d97ee1ab Added more notes to script 2020-03-14 00:14:15 +00:00
Markus Pilman c085abf66f User docker group instead of sudo 2020-03-14 00:12:03 +00:00
Markus Pilman 607f08127e copy all user groups to docker, mount ccache dir
this is necessary for configurations where ccache is
shared across multiple users
2020-03-13 23:38:16 +00:00
A.J. Beamon 031b579ede Increase priority of the logging of various metrics trace events. 2020-03-13 16:20:23 -07:00
Evan Tschannen 3a0af091b2
Merge pull request #2804 from ajbeamon/mismatched-file-identifier-logging
Add logging when file identifiers don't match
2020-03-13 16:16:44 -07:00
Evan Tschannen 7f00d674a0
Merge pull request #2807 from ajbeamon/fix-status-truncation-on-null-byte
Escape unprintable characters in status JSON output read from magic key
2020-03-13 16:10:41 -07:00
Evan Tschannen 2f2f56020f
Update fdbserver/masterserver.actor.cpp
Co-Authored-By: A.J. Beamon <ajbeamon@users.noreply.github.com>
2020-03-13 15:54:13 -07:00
Alex Miller 6ee992eb35 Add that debug tls exits after running. 2020-03-13 15:47:16 -07:00
Alex Miller a5568b2fc6 Rewrite tlsinfo into --debug-tls, and print out configuration. 2020-03-13 15:46:03 -07:00
chaoguang 9dc441c65a clang-format 2020-03-13 15:43:01 -07:00
chaoguang 39a37531db Fix issues according to Andrew's comments 2020-03-13 15:42:15 -07:00
A.J. Beamon 700b13e5f8 Remember the best team from team requests, which will likely be the best again and can save us some computation. 2020-03-13 15:21:33 -07:00
Evan Tschannen 12f2b32770 added additional logging in data distribution 2020-03-13 15:19:33 -07:00
Alex Miller 5be7fa52bc Remove comma, and add schema change to documentation 2020-03-13 14:51:56 -07:00
Evan Tschannen 9e99a00c8f fix: do not use priority 0 left when calculating priorities for empty teams 2020-03-13 13:56:46 -07:00
chaoguang c246f79d72 Update comments 2020-03-13 13:18:18 -07:00
chaoguang a3b0dce3cd Rename vars, update comments 2020-03-13 13:12:22 -07:00
chaoguang c4c38c5eca Delete commented code 2020-03-13 12:58:12 -07:00
chaoguang 8ee4fea3d3 clang-format 2020-03-13 12:54:12 -07:00
chaoguang aef9b515de Change the workload to a more controlled test like ConflictRange test 2020-03-13 12:42:28 -07:00
chaoguang 6e92716be7 update comments 2020-03-13 12:41:48 -07:00
Markus Pilman 17c8b1f513 fixed string interpolation 2020-03-13 19:34:39 +00:00
Markus Pilman d9c21fb98f don't rely on `/home` being home... 2020-03-13 19:33:31 +00:00