Commit Graph

17828 Commits

Author SHA1 Message Date
Josh Slocum 7f4fcc8c2c Added FDBResult and made readBlobGranules use it 2021-12-01 16:22:05 -06:00
Josh Slocum 329091e14f Merge branch 'master' into bg_bindings 2021-11-11 10:13:37 -06:00
Josh Slocum 77fa1e701a cleanup 2021-11-11 09:43:23 -06:00
Josh Slocum b8ac4213a1 Switched BG APIs to transaction instead of database 2021-11-11 08:59:06 -06:00
Markus Pilman 0dfb72176e
Merge pull request #5857 from sfc-gh-vgasiunas/notify-client-lib-changes
A mechanism to notify MVC about relevant client library status changes on the cluster
2021-11-11 07:43:20 -07:00
Lukas Joswiak e0953c381d Remove unused unit tests 2021-11-10 13:33:49 -08:00
Lukas Joswiak 069a04c5e5 Removed outdated definition 2021-11-10 13:33:49 -08:00
Lukas Joswiak 1da288822f Remove distributed trace database option 2021-11-10 13:33:49 -08:00
Lukas Joswiak 8bc0c3e8a2 Convert distributed trace sampling rate to a database option 2021-11-10 13:33:49 -08:00
Lukas Joswiak 28b72550f3 Remove additional unused tracing 2021-11-10 13:33:49 -08:00
Lukas Joswiak fc2bfdbacf Remove unit tests dependent on knob 2021-11-10 13:33:49 -08:00
Lukas Joswiak c93052121f Fix issue where transaction spans would not be recorded 2021-11-10 13:33:49 -08:00
Lukas Joswiak 5ed7abdc05 Fix bug where spans were not being properly constructed 2021-11-10 13:33:49 -08:00
Daniel Smith 481cf9bb55
Merge pull request #5788 from Daniel-B-Smith/rocks-throttle
Throttle the number of concurrent reads to RocksDB
2021-11-10 15:20:30 -05:00
Daniel Smith 499dbcdb18 Don't fail fetchKeys when server overloaded is returned 2021-11-10 14:15:42 -05:00
Andrew Noyes db3c08c7cd
Merge pull request #5928 from sfc-gh-anoyes/anoyes/fix-heap-use-after-free
Fix a heap use after free
2021-11-10 10:21:05 -08:00
Vaidas Gasiunas 51b8ccf7d3 Merge remote-tracking branch 'apple/master' into notify-client-lib-changes 2021-11-10 18:40:34 +01:00
Daniel Smith 394b9dc619 Code review changes 2021-11-10 11:53:27 -05:00
Daniel Smith b50b3de5d0 Allow SS to respond with server overloaded 2021-11-10 11:52:02 -05:00
Daniel Smith f6342b0a8d Update defaults 2021-11-10 11:51:05 -05:00
Daniel Smith 66520eb1c1 Utilize read types to do selective throttling 2021-11-10 11:51:04 -05:00
Steve Atherton 470896bdc4
Redwood inline same-size value updates (#5925)
* Refactored mutation application in leaf nodes to do fewer comparisons and do in place value updates if the new value is the same size as the old value.

* Renamed updatingInPlace to updatingDeltaTree for clarity.  Inlined switchToLinearMerge() since it is only used in one place.
2021-11-10 08:22:57 -08:00
Daniel Smith ec99d1d888
Merge pull request #5946 from Daniel-B-Smith/cfoptions
Move table factory options to CFOptions
2021-11-10 11:20:41 -05:00
Markus Pilman a246c1555d
Merge pull request #5931 from sfc-gh-mpilman/features/all-unit-tests-in-ci
Make sure unit tests are run often enough
2021-11-10 08:41:04 -07:00
Josh Slocum 2e5699c6d3 bump protocol version on master to 7.1 2021-11-10 09:38:51 -06:00
Vaidas Gasiunas d6a5cc8460 MVC2.0: Rollback static initialization of the local client API instance 2021-11-10 15:55:33 +01:00
Tao Lin 3ddd63a940
Merge pull request #5945 from nblintao/index-prefetch-demo 2021-11-09 22:14:00 -08:00
Daniel Smith 8822c589de Move table factory options to CFOptions 2021-11-09 17:29:06 -05:00
Tao Lin 4b2757bf99 Fix memory bug in IndexPrefetchDemo 2021-11-09 13:52:28 -08:00
Tao Lin fdb3b72e35 Introduce GetRangeAndFlatMap to push computations down to FDB
Re-introduce #5609
2021-11-09 13:52:28 -08:00
Pierre Zemb ca6cce1988
Fix typo in fdb.options (#5938) 2021-11-09 13:05:12 -08:00
Markus Pilman 0779512c3b added file to run perf unit tests 2021-11-08 15:54:18 -07:00
Markus Pilman d6fad2e489 readded old tlog tests 2021-11-08 15:52:08 -07:00
Markus Pilman 648b9c97ab fixed stupid mistake 2021-11-08 15:47:32 -07:00
Markus Pilman 7df059570a Make sure unit tests are run often enough 2021-11-08 15:43:32 -07:00
Steve Atherton d97d968176
Added KeyBackedObjectMap and KeyBackedObjectProperty classes for storing serializable objects in FDB (#5896)
* Cleaned up some lambda capture workaround since x=y captures weren't available when these classes were originally written.

* Added KeyBackedObjectMap and KeyBackObjectProperty, which work like KeyBackedMap and KeyBackedProperty but use ObjectWriter/Reader for Value serialization so that the type can evolve over time.

* Disabled unit tests which shouldn't run as part of random selection.
2021-11-08 13:04:53 -08:00
Andrew Noyes b7e393587c Fix a heap use after free
If we accept arena arguments by value, then the lifetime of any memory
allocated by that arena ends when the function returns. Given that we
seem to be appending to VectorRef's passed by pointer this is unlikely
to be what we want.
2021-11-08 12:51:32 -08:00
Vaidas Gasiunas 9408c11c3d MVC2.0: Remove client library status "available" 2021-11-08 18:10:36 +01:00
Vaidas Gasiunas 418cc4dc50 MVC2.0: Notifying clients about deleting or disabling client libraries that have upload or active status;
Declare library status access and change transactions as lock aware
2021-11-08 18:01:58 +01:00
Vaidas Gasiunas 31386c0f03 MVC2.0: Fix refactoring to remove dependency of MVC on Native API 2021-11-08 17:25:43 +01:00
Yao Xiao 86ea63d1da
Add libsanitizer to fdb image. (#5918) 2021-11-04 23:21:54 -07:00
sfc-gh-tclinkenbeard 30cef51746 Improve tracing in ddSnapCreateCore 2021-11-04 12:59:50 -07:00
sfc-gh-tclinkenbeard e4ca7e9511 Fix comment for RequestStream::tryGetReply 2021-11-04 12:59:50 -07:00
sfc-gh-tclinkenbeard e08de9e304 Update transaction-tagging.rst documentation 2021-11-04 12:57:50 -07:00
Renxuan Wang 85dff214a4 Address comments. 2021-11-04 11:42:28 -07:00
Renxuan Wang f15ceb5489 Add Hostname struct, and fromHostname in NetworkAddress struct. 2021-11-04 11:42:28 -07:00
Markus Pilman 67a976b9cd
Merge pull request #5912 from apple/revert-5609-index-prefetch-demo
Revert "Introduce GetRangeAndFlatMap to push computations down to FDB"
2021-11-04 10:31:37 -06:00
Tao Lin 586cc3b102
Revert "Introduce GetRangeAndFlatMap to push computations down to FDB" 2021-11-04 08:46:56 -07:00
Tao Lin 679023ac51
Merge pull request #5609 from nblintao/index-prefetch-demo 2021-11-03 23:07:34 -07:00
Steve Atherton b1cd4aa96a
Merge pull request #5905 from sfc-gh-satherton/use-xxhash-redwood-flowtransport
Use XXHash in Redwood
2021-11-03 13:54:27 -07:00