-
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#] Fix NullRef in ReadFromImmutable (#789)
* Fix ReadFromImmutable's CopyToTailFromReadOnly loop to catch when the source address has dropped below HeadAddress * Fix assert in ReadCacheEvict * Fix ReadFromImmutable to not sharelock if useStartAddress, as these records are Sealed as part of normal operations * Add comment * After 5 years, say goodbye to ShiftClosedUntilAddress() and LastClosedUntilAddress. You will not be missed. * - CompleteTwoPhaseCopyToTail returns false if source address falls below HeadAddress due to SWURIC epoch refresh - Make sure Internal(Read|RMW|Upsert|Delete|Lock) call SWURIC in all below-HeadAddress cases (don't rely on >= BeginAddress as log truncation may make the record fall below this) - Add Thread.Yield() calls and some comments to OnPagesClosed - Change several RETRY_NOW to RETRY_LATER - Add commandline parameters and new options for NoReadCTT and ReadCache to MemOnlyCache --------- Co-authored-by: Badrish Chandramouli <[email protected]>
- Loading branch information
Showing
14 changed files
with
287 additions
and
152 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
Oops, something went wrong.