Commit Graph

1020 Commits

Author SHA1 Message Date
Evan Tschannen 719bb5bd0c
Merge pull request #4 from bnamasivayam/getKeyServers-refactor
Having 1000 as the limit for Limit for GetKeyServerLocationsRequest s…
2018-02-22 12:39:48 -08:00
Balachandar Namasivayam 2fe2b522d5 Simple refactor of code... 2018-02-22 12:38:14 -08:00
Alec Grieser e1162e9238 Merge remote-tracking branch 'upstream/release-5.1' 2018-02-22 11:16:12 -08:00
Balachandar Namasivayam e2030db5a8 Refactor getKeyServers to be more readable.
Fix possible memory corruption by returning KeyRange instead of KeyRangeRef in getKeyServers.
Simplify getMasterProxies on DatabaseContext class.
2018-02-21 17:11:50 -08:00
Alec Grieser d93f7aa87a
Merge pull request #2 from alecgrieser/node-build-env-vars
Build for NodeJS now allows setting distribution and repo URLs
2018-02-21 14:28:36 -08:00
Alec Grieser 3ade71d60f
Merge pull request #6 from alecgrieser/header-remove-whitespace
Some latent formatting changes
2018-02-21 12:28:04 -08:00
Alec Grieser 0bae9880f1 remove trailing whitespace from our copyright headers ; fixed formatting of python setup.py 2018-02-21 10:25:11 -08:00
Balachandar Namasivayam 6218934c7b Having 1000 as the limit for Limit for GetKeyServerLocationsRequest sometimes generate large packet warnings. Reduce it to 100.
Fix the bug where some of the key server shards may not be fetched.
2018-02-20 17:41:34 -08:00
Alec Grieser aadc06de99 Merge remote-tracking branch 'upstream/release-5.1' 2018-02-20 14:28:29 -08:00
John Brownlee d8973c0867
Merge pull request #1 from alecgrieser/bindings-format
Reformat the go and python bindings
2018-02-20 14:09:29 -08:00
Alec Grieser 9f117426bf allow node repo and distribution URLs to be set through make/env variables 2018-02-19 13:25:14 -08:00
Alec Grieser 1c1ae7d70e Merge remote-tracking branch 'upstream/release-5.1' into bindings-format 2018-02-19 12:37:06 -08:00
Stephen Atherton a9a9590058 Merge branch 'release-5.1' of github.com:apple/foundationdb into release-5.1 2018-02-16 19:44:36 -08:00
Stephen Atherton 54fc81b260 Improved backup error reporting in backup status. The most recent error for each error type is reported along with how long ago the error occurred, and errors are divided into two categories based on whether or not they occurred since the most recent backup progress. 2018-02-16 19:38:31 -08:00
Evan Tschannen dc93759e15 suppressed trace events that are spammy 2018-02-16 16:01:19 -08:00
Bhaskar Muppana d48417da0d Merge branch 'release-5.1' 2018-02-16 13:36:25 -08:00
Bhaskar Muppana fe3f0d9343 Bumping version to next minor release - 5.1.3 2018-02-16 13:33:48 -08:00
Balachandar Namasivayam 2eeb714c4b Trace memory usage of individual FastAllocator of different sizes as part of ProcessMetrics. 2018-02-16 13:30:00 -08:00
Bhaskar Muppana 816a609cb9 Generate new WIX Installer GUID - post release 2018-02-16 13:13:23 -08:00
Bhaskar Muppana 1debc59cb5 Generate new WIX Installer GUID 2018-02-16 11:06:01 -08:00
Evan Tschannen 8c53483838 fix: log ranges were not being cleared correctly 2018-02-16 10:27:10 -08:00
A.J. Beamon ceec580d2f fdbcli considered a backup running if the 'running_backup' field was present, not if it was true. 2018-02-16 10:09:03 -08:00
A.J. Beamon 814ae16016 Add destination tokens to Net2_LargePacket trace events. Add backtrace when a sent packet is too large. 2018-02-15 14:54:35 -08:00
Alex Miller 4768c5a772 Merge pull request #236 from cie/alexmiller/vishy-doc-changes
Fix a couple points in the pie storage comparison about Redis.
2018-02-14 15:28:32 -08:00
Balachandar Namasivayam f320b1b347 Change ConnectionClosed TraceEvent severity from SevError to SevWarnAlways. 2018-02-14 12:25:54 -08:00
A.J. Beamon 3300c2efed Enable slow task profiling in the consistency check processes. 2018-02-14 09:50:12 -08:00
Alex Miller 35fe964e36 Merge pull request #235 from cie/alexmiller/sankalp-doc-changes
Update Cassandra latency numbers as requested.
2018-02-13 17:18:55 -08:00
Stephen Atherton 7bfaffe10d Merge branch 'release-5.1' of github.com:apple/foundationdb into release-5.1 2018-02-13 16:37:10 -08:00
A.J. Beamon 03501fc26c TraceEvent::type is set in init so that it works for TraceIntervals too. ASSERT that the type is non-empty. 2018-02-13 13:29:08 -08:00
Alex Miller 32762648fa Merge branch 'release-5.1' 2018-02-08 18:38:48 -08:00
Alex Miller 4b6c5ecc2c Incrementing versions.target 2018-02-08 18:36:28 -08:00
Alex Miller 6d977b00aa Bumping GUID post 5.1.1 release 2018-02-08 18:23:01 -08:00
Alex Miller 93226ffed9 Upgrade msi GUID for 5.1.1 2018-02-08 15:42:01 -08:00
Stephen Atherton 1f78b98ac9 Bug fix, result as a state variable causes 'this' to be captured instead of copying result. 2018-02-08 09:54:47 -08:00
Stephen Atherton 2d483e7a1c Fdbbackup will now still write a trace file if --log is specified when doing operations that do not require a cluster. Previous behavior was to rely on createCluster()'s trace file initialization. 2018-02-07 22:36:01 -08:00
Stephen Atherton 69425a303b Improved error handling for cases where blob account credentials are either not found in the provided credentials sources and/or some of the credentials sources provided are not readable or parseable. 2018-02-07 21:50:43 -08:00
Alec Grieser e104c21160 tweaks to fix some places where python format rewrite looked kind of bad 2018-02-07 16:59:59 -08:00
Stephen Atherton f8522248cb Blob credentials files were being opened in read-write mode despite the read-only option being specified because the underlying caching layer opens always opens files for read/write access. For now, disabled caching for this file. 2018-02-07 16:25:16 -08:00
Stephen Atherton 555dc72353 Merge branch 'master' of github.com:apple/foundationdb 2018-02-07 15:12:13 -08:00
Stephen Atherton acb876d520 Merge branch 'release-5.1' 2018-02-07 15:11:52 -08:00
Stephen Atherton 9a4d039495 Removed fdbblob (an alias for fdbbackup) generation. 2018-02-07 15:10:39 -08:00
A.J. Beamon 9c7a39d5b2 Rename SevWarnAlways trace event DeviceNotFound to GetDiskStatisticsDeviceNotFound 2018-02-07 12:54:34 -08:00
A.J. Beamon e06f80bb6e Add client logging for number of logical and physical reads at the NativeAPI layer as well as committed mutation counts and bytes. 2018-02-07 11:56:47 -08:00
Stephen Atherton 0c1c42b0ca Merge branch 'release-5.1' of github.com:apple/foundationdb into release-5.1 2018-02-07 10:38:41 -08:00
Stephen Atherton d8879dc3f3 HTTP::doRequest() now reads responses in parallel with sending requests, so if the server responds before receiving all of the the request the client can stop sending the remainder of the request. For PUT requests which upload files, this prevents sending potentially several megabytes of unnecessary bytes if the server responds with an error (such as 429) before the request is completely sent. Updated the backup container unit test to use more parallelism in order to test this new behavior. 2018-02-07 10:38:31 -08:00
Evan Tschannen d0caffd339 fix: knob was set to incorrect value 2018-02-06 18:11:45 -08:00
Stephen Atherton 3a49211c44 Merge branch 'release-5.1' 2018-02-06 13:58:35 -08:00
Stephen Atherton 7de40413d5 Merge branch 'release-5.1' of github.com:apple/foundationdb into release-5.1 2018-02-06 13:44:25 -08:00
Stephen Atherton 0792d5e3dd Fix: last restorable version for a backup tag name (a separate value from the latest restorable version for a configured backup) was not being updated.
Fix: backup blob speed was sometimes an error because the JSON $sum merge operator did not support mixed numeric types.
Fix: JSON merge operator handling was squashing errors in some cases, which was generally obscuring the backup speed metric issue.
Cleaned up some of the JSON object merging logic.
Improved error messages in JSON merge operators.  Added JSON merge operator tests for mixed numeric math and improved readability of test output.
2018-02-06 13:44:04 -08:00
Evan Tschannen b7dde88029 fix: the cluster controller did not consider the master sharing the same process as the cluster controller as bad in all needed locations
waited too long for good recruitment locations, which would add too much time to recoveries of clusters that do not use machine classes
2018-02-06 11:30:05 -08:00