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

Async/await and FDB 6.1 support #137

Closed
wants to merge 18 commits into from
Closed

Async/await and FDB 6.1 support #137

wants to merge 18 commits into from

Commits on Sep 1, 2019

  1. Enable build support for 6.1.

    brndnmtthws authored and dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    29652cb View commit details
    Browse the repository at this point in the history
  2. update to 2018 edition

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    042bb51 View commit details
    Browse the repository at this point in the history
  3. port to futures 0.3 and fdb 6.1

    - build on nightly until rust 1.39 arrives
    - switch to 6.1 API and create database directly
    - drop support for Cluster and FDB releases prior to 6.1, as
    the async changes are a breaking change anyway
    - updated db.transact to retry failures in body, as in
    #125
    - made should_retry() on error objects public
    - changed some sync functions that were using .wait() to async
    (eg HCA allocate)
    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    7ad1acb View commit details
    Browse the repository at this point in the history
  4. port tests

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    c1655a8 View commit details
    Browse the repository at this point in the history
  5. fix intermittent segfault when pending future dropped

    When fdb_future_destroy() is called on a future that hasn't resolved,
    it causes the callback to fire. If it fires after the box the waker/task
    was held in has already been deallocated, it can result in a crash.
    Fix the issue by dropping the allocation in the callback instead.
    
    This issue also exists in the stable foundationdb-rs release.
    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    1afa061 View commit details
    Browse the repository at this point in the history
  6. update example

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    337b0b6 View commit details
    Browse the repository at this point in the history
  7. update bindingtester

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    cf3fa93 View commit details
    Browse the repository at this point in the history
  8. update foundationdb-bench

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    e07ddf1 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    2dfa18a View commit details
    Browse the repository at this point in the history
  10. update travis to use 6.1.12

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    f1fa0f9 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    371c34d View commit details
    Browse the repository at this point in the history
  12. Revert "disable stable and beta builds for now"

    This reverts commit 371c34d.
    
    While rust-toolchain remains in the repo, stable and beta tests
    seem to run on nightly as well, so we should be able to leave the
    tests there and they'll automatically start running on beta/stable
    again when rust-toolchain is removed after the rust 1.39 release.
    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    cea966c View commit details
    Browse the repository at this point in the history
  13. fix clippy

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    6a3ac18 View commit details
    Browse the repository at this point in the history
  14. fix cargo fmt

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    8988ff1 View commit details
    Browse the repository at this point in the history
  15. run cargo fmt

    dae committed Sep 1, 2019
    Configuration menu
    Copy the full SHA
    863ab2b View commit details
    Browse the repository at this point in the history

Commits on Sep 11, 2019

  1. Configuration menu
    Copy the full SHA
    469db53 View commit details
    Browse the repository at this point in the history

Commits on Oct 3, 2019

  1. Configuration menu
    Copy the full SHA
    882c2cc View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2019

  1. stable rust 🎉

    dae committed Nov 7, 2019
    Configuration menu
    Copy the full SHA
    f90cefc View commit details
    Browse the repository at this point in the history