Commit Graph

24972 Commits

Author SHA1 Message Date
Alec Grieser 83bf2ee312 added add_shutdown_hook to fdb_c api and used it to detach java threads where appropriate 2017-07-25 15:57:26 -07:00
Alec Grieser 5a33d102a9 Merge branch '33300740-java-bindings-callbacks-on-external-threads' into 33300740-with-shutdown-hooks 2017-07-24 16:52:25 -07:00
Stephen Atherton 4aaee86c2a Moved MetricLogger actor to fdbclient so applications other than fdbserver can use it. 2017-07-24 13:13:06 -07:00
Alec Grieser ee1e413927 fix whitespace issues <grumble, grumble> 2017-07-24 10:09:54 -07:00
Evan Tschannen 2ae445782e fix: cannot rely on the bestServer’s version because other logs may have higher versions 2017-07-21 19:21:49 -07:00
Alec Grieser 68e539164e JNI now tries to attach thread to JVM if g_thread_jenv not set 2017-07-21 18:26:18 -07:00
John King 2710ab28ea removed delete_wd40_env option from sample conffile 2017-07-21 13:22:23 -07:00
Evan Tschannen f6826f1e15 fix: log routers were popped at too high of a version
fix: make sure tlogs make everything durable
fix: make cluster controller’s temporary remote log recruitment not interfere with better master exists
2017-07-20 16:26:05 -07:00
John King 28c843ed56 replace wd40 references from fdbmonitor with command to unset environment variables 2017-07-19 15:38:29 -07:00
Evan Tschannen 7fec378830 do not continue copying data from prior generations after being locked 2017-07-19 15:11:18 -07:00
A.J. Beamon b19611010a Add ability to disable options in specific bindings, use it to disable callbacks on external threads in java 2017-07-19 12:58:21 -07:00
Alvin Moore 01cbca891e Added OS X compilation option for c files to cpp files to support old versions of OSX 2017-07-18 11:09:10 -07:00
Alec Grieser 3d5c7e555c Merge branch 'master' of github.com:apple/foundationdb 2017-07-17 17:20:33 -07:00
Alec Grieser e065254b4f Merge branch 'release-5.0' 2017-07-17 17:20:28 -07:00
Alec Grieser 1ef77ef99a java tester support on release-5.0 2017-07-17 16:42:50 -07:00
Evan Tschannen 64e9560599 Merge pull request #128 from cie/maintain-incompatible-connections
Maintain incompatible connections
2017-07-17 16:28:22 -07:00
A.J. Beamon 2113d47db6 Update protocol version for incompatible connection change 2017-07-17 16:16:05 -07:00
A.J. Beamon 23c2946fa3 Rename some trace events surrounding connections 2017-07-17 16:15:18 -07:00
A.J. Beamon 591d98f711 Update the incompatible version behavior change protocol version check and add a note that we'll need to appropriately set the version at merge time. 2017-07-17 11:00:45 -07:00
A.J. Beamon 650c6ff399 Merge branch 'release-5.0' into maintain-incompatible-connections 2017-07-17 10:40:36 -07:00
A.J. Beamon 9493f8f78c Merge branch 'release-5.0' 2017-07-17 09:34:37 -07:00
A.J. Beamon a7fbc56a8e Checksums computed on pages with partially undefined contents are still valid, so mark them as such for valgrind purposes. 2017-07-17 09:34:04 -07:00
Alec Grieser 3700624fd7 Merge branch 'release-5.0' 2017-07-17 08:54:10 -07:00
Evan Tschannen 5e4a94120c update status json schema 2017-07-15 16:18:59 -07:00
Evan Tschannen 5852a6301b fixed even more bugs 2017-07-15 15:15:03 -07:00
Alec Grieser eee492a05b fix build issue from Notified.h not being shuffled in vcxproj files 2017-07-14 16:46:08 -07:00
A.J. Beamon f73b0b6961 fix: Move failureMonitorClient state to a reference counted object. This avoids a race condition in the fdbcli as its shutting down that can cause it to crash. 2017-07-14 16:28:04 -07:00
Alec Grieser c860f09d8a Merge branch 'release-5.0' 2017-07-14 16:01:15 -07:00
A.J. Beamon ed4fd4df50 Merge pull request #127 from cie/flow-packages
<rdar://33191326> Publish header files for flow
2017-07-14 15:55:01 -07:00
Alec Grieser 660729839c moved Notified.h from flow -> fdbclient ; flow bindings package does better job when excluding testers 2017-07-14 15:49:30 -07:00
Stephen Atherton d61f74e52b Debug output changes. 2017-07-14 13:39:58 -07:00
Stephen Atherton 8b3569e27e Bug fix. 2017-07-14 11:37:08 -07:00
Stephen Atherton fc0557252b Bug fixes. Btree now uses page 0 as root and will write initial page only if necessary. Added debug printf macro. 2017-07-14 11:36:49 -07:00
Stephen Atherton d8b82ecbe4 Added use of IndirectShadowPager. Moved MemoryPager code into .cpp because of type conflicts and its implementation doesn’t need to be externally visible anyway. Added start of a performance test. Renamed tests. Correctness/set now has random reopen of disk based pager before verification. Added asserts for when keys or values that are too large to fit in a single page. 2017-07-13 22:11:48 -07:00
Evan Tschannen 5ac4de8775 fix: the same tag could be in the server tags list twice 2017-07-13 16:31:55 -07:00
Stephen Atherton b56f5643d5 Bug fixes. 2017-07-13 14:51:39 -07:00
Evan Tschannen 57ba9d36af fixed a large number of bugs 2017-07-13 12:29:21 -07:00
Stephen Atherton bea061fd75 Bug fix, building tree root (1 or more top levels) must happen inside commitSubtree() otherwise the root page logical ID (1) can be written out of version order. 2017-07-13 11:32:14 -07:00
Alec Grieser 4a9b5d95f2 Merge branch 'master' of github.com:apple/foundationdb 2017-07-13 11:21:26 -07:00
Alec Grieser f75b6f333b Merge branch 'release-5.0' 2017-07-13 11:21:18 -07:00
Alec Grieser 921dccbcad reverting versions.target after docs build to 5.0.2 2017-07-13 10:28:16 -07:00
Alec Grieser b133862db6 added FLOW and FDB_FLOW targets to make packages of flow headers and libs 2017-07-13 10:21:36 -07:00
Ben Collins 72de765083 Remove unused code 2017-07-13 08:18:00 -07:00
Balachandar Namasivayam 2eab22474a Merge pull request #126 from cie/circus-java-bindings
<rdar://problem/32425430> 🎪 FDB Java perf tests running in Circus
2017-07-12 12:32:09 -07:00
A.J. Beamon 7640f2cfa2 Temporary version change for docs 2017-07-12 11:12:41 -07:00
Alec Grieser 50c206c93e CompletableFuture reference is now an @link 2017-07-12 10:41:31 -07:00
Alec Grieser a5a403fff1 Merge branch 'release-5.0' of github.com:apple/foundationdb into release-5.0 2017-07-12 09:52:49 -07:00
Alec Grieser 6576e62a4e removed FIXME from Javadocs 2017-07-12 09:52:19 -07:00
Alec Grieser 800cbc0ccf added perf tests in python and java for single key get ranges 2017-07-11 19:32:24 -07:00
Evan Tschannen 415458deef made LogSet reference counted,
fixed a few bugs
2017-07-11 15:48:10 -07:00