Skip to content

Commit fd9afee

Browse files
committed
feat(foundationdb,bindingtester): Add directory
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.
1 parent 97e9d18 commit fd9afee

22 files changed

+3036
-337
lines changed

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
strategy:
1010
matrix:
1111
os: [ubuntu-latest, macos-latest, windows-latest]
12-
toolchain: ["1.40.0", "stable"]
12+
toolchain: ["1.51.0", "stable"]
1313

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

foundationdb-bindingtester/Cargo.toml

+1
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,4 @@ futures = "0.3.0"
3737
log = "0.4.8"
3838
num-bigint = "0.3.0"
3939
structopt = "0.3.3"
40+
async-trait = "0.1.48"

foundationdb-bindingtester/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ The following configurations are tested and should pass without any issue:
1111
./bindingtester.py --test-name scripted
1212
./bindingtester.py --num-ops 1000 --test-name api --api-version 610
1313
./bindingtester.py --num-ops 1000 --concurrency 5 --test-name api --api-version 610
14-
```
14+
./bindingtester.py --num-ops 10000 --concurrency 1 --test-name directory --api-version 610 --no-directory-snapshot-ops
15+
```

0 commit comments

Comments
 (0)