-
Notifications
You must be signed in to change notification settings - Fork 570
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[C#] Fixes and refactoring of FASTERAsync (#480)
* Fix to move await of flushtask to Slow*Async * Fix setting of RecordInfo in ReadAsync * FASTERAsync: do not use CompleteAsync.GetAwaiter() in Complete() * fix asyncOp and asyncOperation usage * Add XML comment for throttleLimit param * Change flushTask to a SemaphoreSlim to avoid GetAwaiter().GetResult() in the sync case * Add AsyncPool.Get() for sync paths and change MLSD to use it instead of GetAwaiter().GetResult() * Add ConfigureAwait(false) to all awaits * Break FASTERAsync out to separate files * Prep for RMW refactor * Rename UpdelAsync -> UpdateAsync * Refactor RMWAsync to use UpdateAsync * Add GetAwaiter().GetResult in one void-returning function where it can't be avoided, * Update AsyncStress to include options for rmw-only, upsert-only, large vs. small memory log, and whether to use Value, Reference, or Span data types * Remove obsolete RecordAccessor.cs * Make IHeapContainer implement IDisposable * Fix the TakeFullCheckpoint overload without CheckpointType to call through to the overload with it * Update session.XxxAsync() doc comments for clarity and to emphasize the need to complete operations to avoid leaks * add raw stddev %s to output * Add -NoLock option to compare_runs * Add comments to IUpdateAsyncOperation; fix comment on ccompare_runs Co-authored-by: TedHartMS <15467143+TedHartMS@users.noreply.github.com>
- Loading branch information
Showing
46 changed files
with
1,758 additions
and
1,405 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.