Commit 53d157f
committed
Add per-key version-locked writes to FfiDynStore
Introduce FfiDynStoreInner with per-key write version locks that
ensure write ordering and skip stale versions in both sync and async
code paths.
Refactor build_with_store
Test changes:
- Unify tier store test helpers to use TestSyncStore for all tiers,
replacing mixed SqliteStore/FilesystemStore/TestStore usage that
caused test hangs due to TestStore's async write blocking1 parent 467e647 commit 53d157f
File tree
6 files changed
+516
-182
lines changed- src
- ffi
- tests
- common
6 files changed
+516
-182
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
818 | 818 | | |
819 | 819 | | |
820 | 820 | | |
| 821 | + | |
| 822 | + | |
| 823 | + | |
| 824 | + | |
| 825 | + | |
| 826 | + | |
| 827 | + | |
821 | 828 | | |
822 | 829 | | |
823 | 830 | | |
| |||
831 | 838 | | |
832 | 839 | | |
833 | 840 | | |
834 | | - | |
835 | 841 | | |
836 | 842 | | |
837 | 843 | | |
| |||
1306 | 1312 | | |
1307 | 1313 | | |
1308 | 1314 | | |
1309 | | - | |
1310 | | - | |
| 1315 | + | |
| 1316 | + | |
1311 | 1317 | | |
1312 | 1318 | | |
1313 | 1319 | | |
| |||
0 commit comments