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

Improve async cancellation safety of future::Cache (v0.12.0-beta.X) #309

Merged
merged 8 commits into from
Aug 27, 2023

Commits on Aug 26, 2023

  1. Async cancellation safety

    Update TODO comments.
    tatsuya6502 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    630d1b2 View commit details
    Browse the repository at this point in the history
  2. Improve async cancellation safety of future::Cache

    Make it possible to resume an eviction notification in write operation after
    cancelling.
    tatsuya6502 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    4b85133 View commit details
    Browse the repository at this point in the history
  3. Improve async cancellation safety of future::Cache

    Reschedule write op after async cancel.
    tatsuya6502 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    4194759 View commit details
    Browse the repository at this point in the history
  4. Improve async cancellation safety of future::Cache

    Refactoring on the `do_insert_with_hash` of `BaseCache`.
    tatsuya6502 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    3fcb35a View commit details
    Browse the repository at this point in the history
  5. Improve async cancellation safety of future::Cache

    Refactoring on the `PendingOp` and `PendingOpGuard`.
    tatsuya6502 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    eef7157 View commit details
    Browse the repository at this point in the history
  6. Improve async cancellation safety of future::Cache

    Change back to use the same `ReadOp` between `future` and `sync` caches.
    tatsuya6502 committed Aug 26, 2023
    Configuration menu
    Copy the full SHA
    f629869 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2023

  1. Improve async cancellation safety of future::Cache

    - Add unit tests for async cancellations.
    - Some refactoring.
    tatsuya6502 committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    0c21545 View commit details
    Browse the repository at this point in the history
  2. Improve async cancellation safety of future::Cache

    - Update a unit tests for async cancellations.
    tatsuya6502 committed Aug 27, 2023
    Configuration menu
    Copy the full SHA
    3cb2529 View commit details
    Browse the repository at this point in the history