• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

codenotary / immudb
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: chore/test-followups
DEFAULT BRANCH: master
Repo Added 30 May 2020 08:52AM UTC
Files 311
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH chore/test-followups
branch: chore/test-followups
CHANGE BRANCH
x
Reset
  • chore/test-followups
  • chore/build-updates
  • ci-regex-fix
  • docker-init-db
  • fargate
  • feat/auditlog
  • feat/coalesce
  • feat/s3performance
  • feature/between-and
  • feature/constant-selection-query
  • feature/discard-precommitted-txs
  • feature/extract-from-timestamp
  • feature/individual-col-primary-key
  • feature/left-join
  • feature/pgsql-catalog
  • fix/2082-scan-latest
  • fix/cas-notarize
  • fix/display-actual-config-path-on-startup
  • fix/empty-tree-flush
  • fix/empty-tree-flush-file
  • fix/index_metrix
  • gh_action_update
  • issue-2028
  • master
  • moshix-patch-8
  • parallelvcn
  • patch-1
  • refs/tags/v1.1.0
  • refs/tags/v1.10.0
  • refs/tags/v1.11.0
  • refs/tags/v1.11.0-RC2
  • refs/tags/v1.2.0
  • refs/tags/v1.2.0-RC1
  • refs/tags/v1.2.1
  • refs/tags/v1.2.2
  • refs/tags/v1.2.3
  • refs/tags/v1.2.3-RC1
  • refs/tags/v1.2.4
  • refs/tags/v1.2.4-RC1
  • refs/tags/v1.3.0
  • refs/tags/v1.3.0-RC1
  • refs/tags/v1.3.1
  • refs/tags/v1.3.2
  • refs/tags/v1.3.2-RC1
  • refs/tags/v1.4.0
  • refs/tags/v1.4.0-RC1
  • refs/tags/v1.4.0-RC2
  • refs/tags/v1.4.1
  • refs/tags/v1.4.1-RC1
  • refs/tags/v1.5.0
  • refs/tags/v1.5.0-RC1
  • refs/tags/v1.9.0-RC1
  • refs/tags/v1.9.0-RC2
  • refs/tags/v1.9.3
  • refs/tags/v1.9.4
  • refs/tags/v1.9.5
  • refs/tags/v1.9.6
  • refs/tags/v1.9.7
  • refs/tags/v1.9DOM
  • refs/tags/v1.9DOM.0
  • refs/tags/v1.9DOM.1
  • refs/tags/v1.9DOM.1-RC1
  • refs/tags/v1.9DOM.2
  • refs/tags/v1.9DOM.2-RC1
  • refs/tags/v2.0.0-RC1
  • release/v1.10.0
  • release/v1.2.4
  • release/v1.2.4-RC1
  • release/v1.3.0
  • release/v1.3.0-RC1
  • release/v1.3.1
  • release/v1.3.2
  • release/v1.3.2-RC1
  • release/v1.4.0
  • release/v1.4.0-RC1
  • release/v1.4.0-RC2
  • release/v1.4.1
  • release/v1.4.1-RC1
  • release/v1.5.0
  • release/v1.5.0-RC1
  • release/v1.9.0-RC1
  • release/v1.9.0-RC2
  • release/v1.9.3
  • release/v1.9.4
  • release/v1.9.5
  • release/v1.9.6
  • release/v1.9.7
  • release/v1.9DOM
  • release/v1.9DOM.0
  • release/v1.9DOM.1
  • release/v1.9DOM.1-RC1
  • release/v1.9DOM.2
  • release/v1.9DOM.2-RC1
  • release/v2.0.0-RC1
  • update-copyright-notice
  • v2-prerelease

05 May 2026 08:07AM UTC coverage: 85.034% (-0.004%) from 85.038%
25365079973

Pull #2095

gh-ci

vchaindz
chore(tests): add hot-restore reproducer for issue #2061

Drives a two-instance src/dst immudb setup through a SQL workload
designed to surface the "indexing failed at ... due to error: tbtree:
key not found" + 60s freeze symptom reported in #2061. The script:

  - Boots two immudb instances (src on :3322, dst on :3323) with
    deterministic admin passwords and isolated data dirs under
    /tmp/immudb-2061.
  - Builds ~2 GB of payload on the source: 2M INSERTs into a table
    with a UNIQUE composite index on (k1, k2), 200k UPDATEs on the
    composite-key column, plus two extra phases targeting the
    InjectiveMapping / GetBetween+ReadTxEntry path:
      D - multi-statement INSERT-new + UPDATE-other in one exec call
      E - INSERT/DELETE/INSERT cycles reusing composite-key values
          across separate transactions
  - immuadmin hot-backup -> immuadmin hot-restore --force-replica
    into a fresh dst DB.
  - 5-minute observation window grepping dst.log for the failure
    strings, plus post-restore SELECTs through the composite-index
    path so a silent ErrKeyNotFound from the indexer would surface
    at read time.
  - Prints REPRO=yes/no.

Confirmed REPRO=no on master (47336 transactions, 2.1 GB backup,
zero "indexing failed" / "tbtree: key not found" lines, post-restore
SELECTs return expected counts and rows) - most plausibly closed
silently by the indexer/tbtree work shipped since v1.9.7.

Side finding while building this: INSERT + UPDATE on the same row
in a single exec call still trips ErrCannotUpdateKeyTransiency on
master, despite 35bb7962 ("disjoint keyRef spaces") supposedly
covering this class. Filed separately as #2092 with a minimal repro.

Run with:
  bash tests/repro/issue-2061/run.sh
or scaled down for a quick smoke test:
  TOTAL=600 BATCH=60 MULTI_STMT_COUNT=50 CYCLE_COUNT=30 \
    OBSERVE_SECS=10 bash tests/repro/issue-2061/run.sh
Pull Request #2095: test: INSERT+UPDATE same-row regression coverage and issue-2061 hot-restore reproducer

45155 of 53102 relevant lines covered (85.03%)

126342.41 hits per line

Relevant lines Covered
Build:
Build:
53102 RELEVANT LINES 45155 COVERED LINES
126342.41 HITS PER LINE
Source Files on chore/test-followups
  • Tree
  • List 311
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
25365079973 chore/test-followups chore(tests): add hot-restore reproducer for issue #2061 Drives a two-instance src/dst immudb setup through a SQL workload designed to surface the "indexing failed at ... due to error: tbtree: key not found" + 60s freeze symptom reported in #2061... Pull #2095 05 May 2026 08:15AM UTC vchaindz gh-ci
85.03
See All Builds (4068)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc