Commit Graph

2158 Commits

Author SHA1 Message Date
Lukas Joswiak 4eca095644 Remove scoped lineage 2021-06-15 11:08:57 -07:00
Lukas Joswiak 7753f38053 ThreadSafe, remove getCurrentLineage work 2021-06-14 18:11:37 -07:00
Lukas Joswiak 3af97de8d8 Use unsafe reference counted 2021-06-14 16:47:28 -07:00
Lukas Joswiak 0ff041222a Add removals back 2021-06-13 18:23:59 -07:00
Lukas Joswiak 112be7a763 Remove most work 2021-06-13 16:19:02 -07:00
Lukas Joswiak 23f4aec641 Remove bad line 2021-06-12 22:38:22 -07:00
Lukas Joswiak cbc42389ab Add stacks back 2021-06-11 14:34:12 -07:00
Lukas Joswiak 0301072690 Refactor 2021-06-11 13:01:32 -07:00
Lukas Joswiak 3f4543f24a Try thread unsafe reference counting 2021-06-07 20:43:28 -07:00
Lukas Joswiak e9fdbb9c86 Enable sampling 2021-06-07 18:01:14 -07:00
Lukas Joswiak 295ce22f57 Add setLineage and Actor field back 2021-06-07 14:19:30 -07:00
Lukas Joswiak b4a144964f Remove Actor lineage field 2021-06-07 10:03:49 -07:00
Lukas Joswiak 7d56038e5e Remove restore_lineage 2021-06-04 16:38:12 -07:00
Lukas Joswiak 3a690c4838 Remove setLineage 2021-06-04 16:37:11 -07:00
Lukas Joswiak eb4c4886b2 Remove sample call 2021-06-04 15:01:18 -07:00
Lukas Joswiak 042aa60336 Temporary fix for ld linking issue 2021-06-04 15:01:18 -07:00
Lukas Joswiak c62e100dfb Attempt gcc compilation fix 2021-06-04 15:01:18 -07:00
Lukas Joswiak 486a04659f Lazy inititialization 2021-06-04 15:01:18 -07:00
Lukas Joswiak ca79b8eaab Various ALP fixes 2021-06-04 15:01:18 -07:00
Lukas Joswiak c2f39bc8ef Use fast allocator 2021-06-04 15:01:18 -07:00
Lukas Joswiak 153de33f57 Revert "Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage"
This reverts commit 6499fa178e, reversing
changes made to 1512631957.
2021-06-04 13:31:55 -07:00
Lukas Joswiak ba25b95c6a Fix global config not updating on server processes 2021-06-03 14:27:24 -07:00
Andrew Noyes eb15746e41 Dereference to get result before marking "no access" 2021-06-02 16:07:04 -07:00
Josh Slocum d67184163b
Merge pull request #4556 from sfc-gh-jslocum/tss
Testing Storage Server
2021-06-01 09:11:10 -07:00
A.J. Beamon d35da1aeae
Merge pull request #4873 from sfc-gh-ajbeamon/close-files-in-simulation
Actually close files in simulation
2021-05-28 15:32:10 -07:00
A.J. Beamon 69dbe04d42 Rename WeakFutureReference to UnsafeWeakFutureReference and add warning comment 2021-05-28 14:34:20 -07:00
Dan Lambright 065c4fdd5a issue 4252 2021-05-27 08:08:07 -04:00
A.J. Beamon a756469670 Use a weak reference in the open files cache (abstracted from a similar cache in AsyncFileCached) to avoid a problem where removing an item from the cache could cause us to reentrantly remove it again. 2021-05-26 13:38:24 -07:00
Markus Pilman 04613c3b13 handle file renames properly 2021-05-26 11:11:37 -07:00
Josh Slocum d68cb9b048 Changing role names and enabling tss by default in consistency check 2021-05-25 22:21:43 +00:00
Josh Slocum 4257ac2b4d More TSS Changes/Fixes 2021-05-25 20:37:48 +00:00
Josh Slocum ce82c9653e Testing Storage Server implementation 2021-05-25 20:28:50 +00:00
Steve Atherton 60504e12ac Address review comments. 2021-05-17 18:02:09 -07:00
Steve Atherton 390b026f08
Merge branch 'master' into arena-page 2021-05-16 05:06:50 -07:00
Steve Atherton a31e4f622f Changed ArenaBlockRef to use 32 bit aligned4kBuffer size. 2021-05-16 03:58:05 -07:00
Steve Atherton 6a5bf120f8 Bug fix: It is possible for the pager to be shut down while a cursor operation is acquiring its mutex, specifically after the permit is available but before the delay(0) inside take() is ready, causing the cursor to operate on an invalid pager. 2021-05-15 23:00:21 -07:00
Steve Atherton 2298567c2b Use of aligned_alloc() for 4k pages causes too much wasted virtual memory. Added new 4k-aligned fast allocator, and changed Arena::allocatedAlignedBuffer() to be 4k-specific, now called Arena::allocate4kAlignedBuffer(). 2021-05-14 23:12:00 -07:00
A.J. Beamon a162682d6d Fix accounting for time spent in run loop after breaking due to yield 2021-05-14 11:12:47 -07:00
Lukas Joswiak 6499fa178e
Merge pull request #4802 from sfc-gh-ljoswiak/revert/actor-lineage
Revert "Merge pull request #4136 from sfc-gh-mpilman/features/actor-l…
2021-05-11 18:50:42 -07:00
Chaoguang Lin 6e10a8abf1 fix header's include order 2021-05-11 14:38:21 -07:00
Lukas Joswiak 4ea760b2a9 Revert "Merge pull request #4136 from sfc-gh-mpilman/features/actor-lineage"
This reverts commit da41534618, reversing
changes made to e6300905d6.
2021-05-10 20:26:12 -07:00
Lukas Joswiak cdf98f987d
Revert "Fix global config not triggering changes on server processes" 2021-05-10 12:18:28 -07:00
Lukas Joswiak 71ba6f4501 Switch std::function to AsyncTrigger 2021-05-07 16:05:03 -07:00
Chaoguang Lin 73fdb55f4b Add headers in new files 2021-05-06 16:43:56 -07:00
Chaoguang Lin 24247057ff Add two safeThreadFuture unit tests into ctest 2021-05-06 16:34:13 -07:00
Chaoguang Lin 7da5004690 Merge branch 'master' of github.com:apple/foundationdb into refactor-fdbcli 2021-05-06 15:44:26 -07:00
Steve Atherton 16f9f6e75c Added a test of Arena dependencies and destruction when using the new aligned buffer feature. 2021-05-06 02:05:09 -07:00
Steve Atherton f8a8bf315b Added Arena::allocateAlignedBuffer() to get an aligned memory block owned by an Arena, and ArenaPage uses this. 2021-05-05 15:00:12 -07:00
sfc-gh-tclinkenbeard 3e229457a7 Use default initializer for TraceEvent::errorKind 2021-05-05 14:21:21 -07:00
Andrew Noyes 6bffbdf7e3
Revert "Actually close files in simulation" 2021-05-04 15:38:24 -07:00