Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C#] Quite a few new tests to make FasterLog and FasterKV functionally covered #420

Merged
merged 87 commits into from
Mar 7, 2021

Conversation

darrenge
Copy link
Collaborator

@darrenge darrenge commented Mar 6, 2021

These test were put in place to increase functional coverage of the Faster Log and Faster KV features.

darrenge and others added 30 commits December 3, 2020 11:38
* Add IAdvancedFunctions documentation
* Fix links
* First pass on RecoverAsync
* Change to semaphore
* FIx stale tokens; make test names consistent
* add readonly
* Add CancellationToken to RecoverAsync; increase CancellationToken usage in a couple other places
* Add clarifying comments and expected behavior in FasterLogPubSub. Add FasterLog.CreateAsync (which calls RecoverAsync) and RecoverReadOnlyAsync. Replace obsolete DeleteDirectory functions with Directory.Delete(path, true)
* Remove some debugging code
* FasterLogPubSub: catch OperationCanceledException, add using/Dispose()
…ries in log file to help reduce the execution time for entire test run
darrenge and others added 23 commits January 12, 2021 13:57
…t in master yet, so need this to not break the test queueu
* Fixed GrowIndex to work correctly, and return only after index size doubling is complete.
* Reset overflowBucketsAllocator during resize.
* Add API to get number of overflow buckets.
* Add RecordInfo.SpinLock

* Pass kInvalidAddress to SingleReader for readcache

* IntExclusiveLocker does not require unsafe

* Assert logicalAddress >= ReadOnlyAddress in RecordAccessor.SpinLock

Co-authored-by: Badrish Chandramouli <badrishc@microsoft.com>
* Initial sample + minor mods to support use case
* cleanup
* added zipf distribution to example. moved to samples folder.
* updates
* Change CopyReadsToTail from bool to enum.
* Add support for CopyReadsToTail to copy to tail when read from ReadOnly region.
* updated sample, use container to store value being reinserted.
* Added support for SubscribeEvictions
* updated sample to ignore tombstones
Co-authored-by: Stephan Kempkes <stephan.kempkes@esrlabs.com>
@darrenge darrenge requested a review from badrishc March 6, 2021 01:38
@badrishc badrishc changed the title Quite a few new tests to make Faster Log and Faster KV functionally covered [C#] Quite a few new tests to make FasterLog and FasterKV functionally covered Mar 6, 2021
@badrishc
Copy link
Collaborator

badrishc commented Mar 7, 2021

Amazing work, thanks Darren!

@badrishc badrishc merged commit 624a566 into master Mar 7, 2021
@darrenge
Copy link
Collaborator Author

darrenge commented Mar 8, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants