fix(vlog): prevent deleted key from reappearing after value-log GC #14312
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci-badger-bank-tests | |
| on: | |
| workflow_dispatch: # allows manual trigger from GitHub | |
| pull_request: | |
| branches: | |
| - main | |
| - release/v* | |
| permissions: | |
| contents: read | |
| jobs: | |
| # Detect whether any non-doc files changed. badger-bank always runs so it | |
| # reports a status on every PR, then short-circuits to success when only docs | |
| # changed. This keeps the bank test gate for code PRs while preventing | |
| # docs-only PRs from deadlocking on a check that paths filtering would skip. | |
| changes: | |
| runs-on: ubuntu-latest | |
| outputs: | |
| code: ${{ steps.filter.outputs.code }} | |
| steps: | |
| - uses: dorny/paths-filter@v3 | |
| id: filter | |
| with: | |
| predicate-quantifier: every | |
| filters: | | |
| code: | |
| - '!**/*.md' | |
| - '!docs/**' | |
| - '!images/**' | |
| badger-bank: | |
| needs: changes | |
| runs-on: ubuntu-latest | |
| steps: | |
| - if: needs.changes.outputs.code == 'true' | |
| uses: actions/checkout@v5 | |
| - if: needs.changes.outputs.code == 'true' | |
| name: Setup Go | |
| uses: actions/setup-go@v6 | |
| with: | |
| go-version-file: go.mod | |
| - if: needs.changes.outputs.code == 'true' | |
| name: Install Dependencies | |
| run: make dependency | |
| - if: needs.changes.outputs.code == 'true' | |
| name: Install jemalloc | |
| run: make jemalloc | |
| - if: needs.changes.outputs.code == 'true' | |
| name: Install Badger | |
| run: cd badger && go install --race --tags=jemalloc . | |
| - if: needs.changes.outputs.code == 'true' | |
| name: Run Badger Bank Test | |
| run: | | |
| #!/bin/bash | |
| mkdir bank && cd bank | |
| badger bank test -v --dir=. -d=20m |