Commit Graph

4539 Commits

Author SHA1 Message Date
Andrew Noyes 555405d1ab Set TRACE_FORMAT network option in fdbcli
Previously --trace_format did not work since the network option has the
last say in what trace format to use.
2019-03-22 10:35:05 -07:00
Evan Tschannen 91019712dd
Merge pull request #1341 from etschannen/master
degraded should not be check for roles besides tlogs
2019-03-21 13:33:11 -07:00
Evan Tschannen 3ced178348 maxVersionDifference is a copy of a knob which is a double 2019-03-21 12:58:48 -07:00
Evan Tschannen c1791cf726 Merge branch 'master' of github.com:apple/foundationdb 2019-03-21 11:25:28 -07:00
Evan Tschannen e692f0f70f fix: degraded is only used for tlog recruitment, so we should not use it in the fitness calculation for other roles 2019-03-21 11:23:49 -07:00
Evan Tschannen 5b8229160c
Merge pull request #1317 from alecgrieser/01186-java-malformed-utf16
Fixes #1186: Tuples: Malformed UTF-16 treated differently in Java and Python
2019-03-21 10:24:44 -07:00
Evan Tschannen c705a1af74 fix: make sure recoveryLocation is always a valid page 2019-03-20 19:33:09 -07:00
Evan Tschannen e837e7572c fix: after a rollback, uncommitted changes to the byte sample could be missed 2019-03-20 19:33:09 -07:00
Evan Tschannen 1c6ad6d307 fix: change the location where stopped is checked, because a yield could cause cause stopped to be set after the existing check 2019-03-20 19:33:09 -07:00
Evan Tschannen 59abd8f3d8 fix: make sure recoveryLocation is always a valid page 2019-03-20 18:12:56 -07:00
Evan Tschannen 3730142fcc fix: after a rollback, uncommitted changes to the byte sample could be missed 2019-03-20 18:10:26 -07:00
Alec Grieser 436c9319ff
Merge pull request #1333 from vishesh/scratch
fix: Use '_' instead of ':' in IPv6 tracefile names
2019-03-20 17:00:43 -06:00
Evan Tschannen 2ed1d58d16 fix: change the location where stopped is checked, because a yield could cause cause stopped to be set after the existing check 2019-03-20 14:28:32 -07:00
A.J. Beamon 18e89b9d42
Merge pull request #1330 from satherton/fix-parsetime-windows
Fix Windows compilation error
2019-03-20 14:27:47 -07:00
A.J. Beamon de83586f64
Merge pull request #1332 from etschannen/feature-huge-arena-logging
added random logging for huge arenas
2019-03-20 14:26:10 -07:00
Vishesh Yadav c37291a366 fix: Use '_' instead of ':' in IPv6 tracefile names
':' is not acceptable on Windows. Reason to choose '_' instead of '.'
is to differentiate b/w IPv4 and IPv6 easily, and also '..1' in
filename looks weirder than '__1', which would happen with shortened
IPv6 addresses. And non-shortened IPv6 addreses are just lots of 0s.
2019-03-20 14:00:33 -07:00
Evan Tschannen f73aad863b adding missing logging for 8192 fast allocators 2019-03-20 13:48:45 -07:00
Stephen Atherton ddf25e50ec _get_timezone() was being called incorrectly. Refactored getting / using current timezone offset slightly. 2019-03-20 12:36:08 -07:00
Alex Miller 5d59cfaff3 Use different default port for dev-sandbox
Co-Authored-By: mpilman <markus@pilman.ch>
2019-03-20 12:18:31 -07:00
Andrew Noyes 5e63efd385 Fix typo in comment
Co-Authored-By: mpilman <markus@pilman.ch>
2019-03-20 12:18:31 -07:00
mpilman a0fe00fa8d Add cmake targets to execute local dev instance 2019-03-20 12:18:31 -07:00
Stephen Atherton 22ac25c868 Updated comments for clarity, changed _timezone to _get_timezone() on Windows. Added TODO to eventually use std::get_time() based implementation on all platforms. 2019-03-20 11:53:24 -07:00
Evan Tschannen 70ac5ffda0 added random logging for huge arenas 2019-03-20 11:20:47 -07:00
A.J. Beamon 797ccea546
Merge pull request #1331 from etschannen/master
fix CheckSatelliteTagLocation
2019-03-20 09:33:40 -07:00
Evan Tschannen 5a00f567be fix CheckSatelliteTagLocation 2019-03-20 09:30:11 -07:00
A.J. Beamon 3a5a27683a
Merge pull request #1327 from etschannen/master
Avoid overloading provisional proxies
2019-03-20 08:51:38 -07:00
Stephen Atherton 81caf66b1c On Windows, use -_timezone instead of tm.tm_gmtoff. 2019-03-20 02:51:40 -07:00
Stephen Atherton c193bc8cb5 Revert parseTime() back to using strptime() for Linux and MacOS. 2019-03-20 02:39:49 -07:00
Stephen Atherton 827107469f Fixed typo in attempt to get tm.tm_gmtoff to exist on Windows. 2019-03-20 02:19:36 -07:00
Stephen Atherton bb58114ab1 Attempt to get tm.tm_gmtoff to be defined on Windows. 2019-03-20 01:53:50 -07:00
Stephen Atherton 3eadcf835b Added missing header. 2019-03-20 01:36:25 -07:00
Stephen Atherton d5e50e6963 Rewrote BackupAgentBase::parseTime() to use std::get_time() so it compiles on all supported platforms. Added unit test for parseTime() and formatTime(). 2019-03-20 01:18:37 -07:00
Evan Tschannen 2605257737 Merge branch 'master' of github.com:apple/foundationdb 2019-03-19 18:47:29 -07:00
Evan Tschannen f9aad46573 made use_provisional_proxies a transaction option 2019-03-19 18:44:37 -07:00
Alex Miller 1f1fb8acee Update cmake/InstallLayout.cmake
Co-Authored-By: atn34 <anoyes34@gmail.com>
2019-03-19 16:28:42 -07:00
Andrew Noyes 2442594b7f Exit non-zero if any tests fail 2019-03-19 16:28:42 -07:00
Andrew Noyes 9da6518d17 Timeout fdbcli commands 2019-03-19 16:28:42 -07:00
Andrew Noyes 9e1e88eb5a Report Docker-ID 2019-03-19 16:28:42 -07:00
Andrew Noyes b20acd6e5c Include empty etc dir in cmake clients deb
This seems to be necessary since without it the postinstall script
complains that directory is missing.
2019-03-19 16:28:42 -07:00
Andrew Noyes 56c14bee0b Remove python dep from cmake-generated deb 2019-03-19 16:28:42 -07:00
Andrew Noyes 24bffa9f4d Install python on debian 2019-03-19 16:28:42 -07:00
Andrew Noyes 143c62b959 Recognize install destination "lib" 2019-03-19 16:28:42 -07:00
Andrew Noyes 4866a8922e Fail build if install destination not recognized 2019-03-19 16:28:42 -07:00
Andrew Noyes fdde63bbdb Remove EXPORT since it's broken and unnecessary 2019-03-19 16:28:42 -07:00
Andrew Noyes 78ca1b5759 Test loading c library from python bindings 2019-03-19 16:28:42 -07:00
Andrew Noyes afa5043d98 Fix some errors found by running bash with -u 2019-03-19 16:28:42 -07:00
Evan Tschannen 20764efa24
Merge pull request #1320 from bnamasivayam/dc-as-satellite-config
Support config where the primary and remote DC's can be used as satel…
2019-03-19 15:49:24 -07:00
Balachandar Namasivayam f9560e1abd Addressed Review Comments 2019-03-19 15:23:14 -07:00
Evan Tschannen c33428b705 do not fail atomicReplace if the files does not exist 2019-03-19 13:38:30 -07:00
Evan Tschannen 5b9c45ea0b clients do not attempt to connect to provisional proxies 2019-03-19 13:37:50 -07:00