Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/node-id-stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Node ID stale-list prototype
on:
pull_request:
paths:
- prototypes/gc/node-id-stale.patch
- prototypes/gc/node-id-stale/**
- .github/workflows/node-id-stale.yml
jobs:
prototype:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@v4
- run: sudo apt-get update && sudo apt-get install -y clang libclang-dev
- run: rustup show
- uses: Swatinem/rust-cache@v2
- run: bash prototypes/gc/node-id-stale/check.sh
2 changes: 2 additions & 0 deletions prototypes/gc/.gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# A blank context line in a unified diff contains one significant space.
*.patch -whitespace
1 change: 1 addition & 0 deletions prototypes/gc/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ environment variables.
| `pr35-window.patch` | PR #35 (`ed77b05`) | A1 and A2, reference counts with a window (`GOLEMDB_GCA` = `window`, `defer`; `GOLEMDB_GCA_W`, `_K`); test `gcwin` |
| `hash-marksweep.patch` | `57c48ca` | E on hash keys (`GOLEMDB_GC=marksweep`, `GOLEMDB_GC_N`) |
| `mdbx-page-size.patch` | this branch | `GOLEMDB_PAGE_SIZE` for new databases |
| `node-id-stale.patch` | #60 at `6ac18eb` | Same cache, APPEND and durable stale lists for version/path and node-ID layouts; [method and measured results](node-id-stale/README.md) |

Example: `GOLEMDB_GC=sweep GOLEMDB_GC_W=5 GOLEMDB_GC_K=4 cargo test -p golemdb-integration-tests --test gcproto`
Loading
Loading