Junhyun Shim
410a422bd7
Use Standalone instead of embedded Arenas
...
- Repeat TokenSign test 100 times per run instead of 1
- Test for verify fail case
2022-03-25 14:03:37 +01:00
Junhyun Shim
9f3fa5ba9b
Fix clang format
2022-03-24 19:12:34 +01:00
Junhyun Shim
99fe104f98
Sign and verify auth tokens for multi-tenant FDB
2022-03-24 19:04:00 +01:00
Andrew Noyes
8a35f03a18
Use allocateFast4kAligned instead of duplicating its logic
2022-03-22 11:01:33 -07:00
Josh Slocum
f27475e2f4
Merge branch 'main' into blob_integration
2022-03-22 11:41:58 -05:00
sfc-gh-tclinkenbeard
a71099471b
Update copyright header dates
2022-03-21 13:36:23 -07:00
Markus Pilman
35f7843d84
Merge remote-tracking branch 'origin/main' into features/private-request-streams
2022-03-21 12:33:53 +01:00
Markus Pilman
1fbeca8038
fix memory issue
2022-03-19 11:03:32 +01:00
Josh Slocum
8205771e8f
ReplyPromiseStreams need synchronous disconnect to avoid change feed races
2022-03-18 17:05:12 -05:00
Josh Slocum
37e7c80f26
Merge branch 'main' into blob_integration
2022-03-17 18:45:42 -05:00
Andrew Noyes
68c03a7e32
Jemalloc integration fixes ( #6626 )
...
* Set default for USE_JEMALLOC initially in ConfigureCompiler
Instead of trying to change the value later on. This fixes the valgrind
build, which was previously incorrectly getting jemalloc involved.
* Check aligned_alloc result for null
And OOM if so - don't assert
* Check that we can allocate magazines with no internal fragmentation
We may want to do this so that the jemalloc heap profiler has some
knowledge of FastAlloc
* Populate TestFile field for noSim tests in TestHarness
* Remove handling for nonexistent "ActualRun"
2022-03-17 15:17:27 -07:00
Evan Tschannen
7908ea54f3
fix: NetNotifiedQueueWithAcknowledgements could miss disconnects that happen during the delay(0) in deliver()
2022-03-17 09:57:46 -07:00
Markus Pilman
158da462f7
fix memory bug
2022-03-17 14:37:05 +01:00
Markus Pilman
118b53b7cf
Merge remote-tracking branch 'origin/main' into features/private-request-streams
2022-03-17 12:06:44 +01:00
sfc-gh-tclinkenbeard
320c115c71
Apply clang-format to mis-formatted files
2022-03-16 14:25:32 -07:00
sfc-gh-tclinkenbeard
58de6e22cc
Add BalanceOnRequests boolean parameter for ModelInterface
2022-03-16 14:25:32 -07:00
Trevor Clinkenbeard
765e018afb
Merge pull request #6580 from sfc-gh-tclinkenbeard/const-smoother
...
Mark `Smoother::smooth*` methods `const`
2022-03-16 13:43:25 -07:00
Steve Atherton
59762fc784
Merge pull request #6423 from sfc-gh-satherton/redwood-bug-fixes-and-memory-leak
...
Redwood memory usage and small memory leak fixes
2022-03-15 16:52:28 -07:00
Markus Pilman
117ee637db
Merge remote-tracking branch 'origin/main' into features/private-request-streams
2022-03-15 17:17:47 +01:00
Markus Pilman
f346a7ea1c
Fix Windows build
2022-03-15 17:15:26 +01:00
Markus Pilman
bed799220a
Addressed review comments, added test
2022-03-15 16:57:26 +01:00
sfc-gh-tclinkenbeard
baec03090e
Fix "guarantee" misspelling
2022-03-14 16:33:09 -07:00
sfc-gh-tclinkenbeard
8dcac2f76d
Fix typos
2022-03-13 10:02:11 -03:00
Josh Slocum
a2bbb188c3
Fixing delayed health updater to mark address failed when too many connections triggers before new connection starts, instead of after
2022-03-11 16:50:38 -06:00
sfc-gh-tclinkenbeard
82f709c9d3
Use CRTP to remove duplicate code from Smoother.h
2022-03-11 08:40:24 -04:00
sfc-gh-tclinkenbeard
3a6568580a
Improve encapsulation of TimerSmoother
2022-03-11 07:47:26 -04:00
Mohamed Oulmahdi
9e81945301
Enable encryption for Windows
2022-03-11 10:06:07 +01:00
sfc-gh-tclinkenbeard
9aca5f8011
Mark several methods const
2022-03-11 00:47:35 -04:00
sfc-gh-tclinkenbeard
a7bce77987
Mark Smoother::smooth* methods const
2022-03-11 00:44:43 -04:00
Tao Lin
e2c7c30faf
GetMappedRange support serializable & check RYW & continuation ( #6181 )
2022-03-10 10:05:44 -08:00
Yi Wu
e6950abae6
Use jemalloc for SQLite/Redwood page cache allocation
2022-03-09 11:48:08 -08:00
Josh Slocum
b21d0943b9
client-focused cleanup
2022-03-09 10:01:25 -06:00
Josh Slocum
e71b3533f9
Merge branch 'main' into blob_integration
2022-03-09 08:59:56 -06:00
Markus Pilman
8fac0081a8
Merge remote-tracking branch 'origin/main' into features/private-request-streams
2022-03-09 11:00:00 +01:00
Josh Slocum
04f678d515
Fixing sample logic
2022-03-07 11:20:24 -06:00
Josh Slocum
665e182bcc
TSS Metrics improvements
2022-03-07 11:20:24 -06:00
Steve Atherton
f03c0b8c3c
Added ISimulated::restarted for detecting a restarted simulation test.
2022-03-04 17:19:46 -08:00
Jingyu Zhou
1a5bf25b5c
Update code base to use fmt 8.1.1
2022-03-04 15:52:06 -08:00
A.J. Beamon
cdebda35ab
Merge pull request #5725 from sfc-gh-jfu/jfu-grv-cache
...
Add transaction option for clients to use cached read versions
2022-03-04 09:17:27 -08:00
sfc-gh-tclinkenbeard
db8def68db
Use std::unique_ptr for ISimulator::extraDB
2022-02-28 13:12:31 -08:00
Andrew Noyes
7a9217a392
Add contrib/debug_determinism ( #6389 )
...
* Add contrib/debug_determinism
Add an instrumentation-based technique for debugging unseen mismatches. Also guard a few existing sources of nondeterminism that don't affect unseen with the DEBUG_DETERMINISM macro.
Also change the simulated run loop to not run as the only task inside the real run loop, since that was a source of nondeterminism.
Also fix nondeterminism from calling timer_int
* Add StorageMetadataType::currentTime
Basically a deterministic-in-simulation version of timer_int that we can
use instead of timer_int for StorageMetadataType::createdTime
2022-02-25 12:54:31 -08:00
Markus Pilman
0aa7823622
Pass object as reference
2022-02-25 14:54:52 +01:00
A.J. Beamon
250a88e682
Enforce that trace event suppression calls happen first when using trace event call chaining. Fix various instances where we weren't following this requirement.
2022-02-24 12:25:52 -08:00
Markus Pilman
20bf3e1599
Address review coomments
2022-02-23 19:02:29 +01:00
Markus Pilman
cf31e14904
Merge remote-tracking branch 'origin/main' into features/private-request-streams
2022-02-23 10:29:32 +01:00
Markus Pilman
102169ba33
Ran clang-format
2022-02-23 10:23:27 +01:00
Jon Fu
2e2c8bf88c
Merge branch 'main' of github.com:apple/foundationdb into jfu-grv-cache
2022-02-22 12:43:55 -05:00
Markus Pilman
dc973fb67e
Allow List and first test
2022-02-22 11:15:16 +01:00
Mohamed Oulmahdi
d32d18ea64
Fix purgeOutdatedHistory
2022-02-18 11:47:44 +01:00
Josh Slocum
38a75a8b89
Merge branch 'main' into blob_integration
2022-02-17 17:47:38 -06:00