17806 Commits

Author SHA1 Message Date
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
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
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
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
Tao Lin
6c98e35893 Rename Hop to FlatMap 2021-11-03 13:32:01 -07:00
Tao Lin
0853661d13 Introduce getRangeAndHop to push computations down to FDB 2021-11-03 13:21:16 -07:00
Markus Pilman
ed0558bad9
Merge pull request #5906 from sfc-gh-satherton/xxhash-flowtransport
Change FlowTransport to use 64 bit XXHash instead of CRC32
2021-11-03 12:54:42 -06:00
Steve Atherton
dc3f46c2ae Change asserts to throw internal_error as these function calls should never be compiled out. 2021-11-03 11:00:12 -07:00
Steve Atherton
f3d62ce002 Assert success on XXHash stream functions. 2021-11-02 23:40:53 -07:00
Steve Atherton
313a3dcd63 Change FlowTransport to use 64 bit XXHash instead of CRC32. 2021-11-02 23:16:03 -07:00
Steve Atherton
b4d69610ee Remove unused variable and more clearly explain out of range annotation in Redwood debug output. 2021-11-02 21:48:37 -07:00
Steve Atherton
84854761cb Change Redwood to use xxhash for checksums. 2021-11-02 21:47:31 -07:00
Jingyu Zhou
c913f89227 Address Markus's comments 2021-11-02 13:22:25 -07:00
Jingyu Zhou
f6dc54ebbe Add transaction state store documentation
With code pointers.
2021-11-02 13:22:25 -07:00
A.J. Beamon
9ab14d8577
Merge pull request #5704 from yao-xiao-github/doc-options
Add documation about network options.
2021-11-02 08:06:59 -07:00
Yao Xiao
7ce29dd153 fix CI error 2021-11-01 16:26:37 -07:00
Yao Xiao
3a6a9bdba5
Update documentation/sphinx/source/api-common.rst.inc
apply fix

Co-authored-by: A.J. Beamon <aj.beamon@snowflake.com>
2021-11-01 16:07:36 -07:00
sfc-gh-tclinkenbeard
841e6b211b Run clang-format on flow/serialize.cpp 2021-11-01 14:54:24 -07:00