Skip to content

Commit

Permalink
feat(foundationdb,bindingtester): Add directory
Browse files Browse the repository at this point in the history
Provides structures for managing directories in FoundationDB.

The FoundationDB API provides directories as a tool for managing related
Subspaces. Directories are a recommended approach for administering
applications. Each application should create or open at least one
directory to manage its subspaces. For general guidance on directory
usage, see the discussion in the Developer Guide.

Directories are identified by hierarchical paths analogous to the paths
in a Unix-like file system. A path is represented as a List of strings.
Each directory has an associated subspace used to store its content. The
layer maps each path to a short prefix used for the corresponding
subspace. In effect, directories provide a level of indirection for
access to subspaces.
  • Loading branch information
PierreZ committed Jun 24, 2021
1 parent 97e9d18 commit fd9afee
Show file tree
Hide file tree
Showing 22 changed files with 3,036 additions and 337 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
toolchain: ["1.40.0", "stable"]
toolchain: ["1.51.0", "stable"]

runs-on: ${{ matrix.os }}

Expand Down
1 change: 1 addition & 0 deletions foundationdb-bindingtester/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,4 @@ futures = "0.3.0"
log = "0.4.8"
num-bigint = "0.3.0"
structopt = "0.3.3"
async-trait = "0.1.48"
3 changes: 2 additions & 1 deletion foundationdb-bindingtester/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,5 @@ The following configurations are tested and should pass without any issue:
./bindingtester.py --test-name scripted
./bindingtester.py --num-ops 1000 --test-name api --api-version 610
./bindingtester.py --num-ops 1000 --concurrency 5 --test-name api --api-version 610
```
./bindingtester.py --num-ops 10000 --concurrency 1 --test-name directory --api-version 610 --no-directory-snapshot-ops
```
Loading

0 comments on commit fd9afee

Please sign in to comment.