Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sqlancer/sqlancer
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: sqlancer/sqlancer
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/cnosdb-pin-image
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 5 commits
  • 3 files changed
  • 2 contributors

Commits on Apr 25, 2026

  1. Pin CnosDB CI to community-2026-02-16

    CnosDB community-latest builds since 2026-02-17 regress with
    "Tskv: Index: index storage error: Resource temporarily unavailable
    (os error 11)" on DROP DATABASE, causing TestCnosDBNoREC to fail with
    expected: <0> but was: <-1>. Local bisect across the rolling community
    tags identifies 2026-02-16 as the last reliably passing build.
    
    The community-* tags are daily snapshots; CnosDB has no LTS/release
    tag, so pin to a known-good date until upstream stabilizes.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    mrigger and claude committed Apr 25, 2026
    Configuration menu
    Copy the full SHA
    75931d2 View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2026

  1. Revert "Pin CnosDB CI to community-2026-02-16"

    This reverts commit 75931d2.
    mrigger committed Apr 26, 2026
    Configuration menu
    Copy the full SHA
    ec5ce65 View commit details
    Browse the repository at this point in the history
  2. Reduce CnosDB test concurrency to 1 thread, 5 tries

    Pinning the CnosDB image alone did not fix CI: 16 concurrent worker
    threads hammering CREATE/DROP DATABASE overload CnosDB's Tskv index
    storage with EAGAIN ("Resource temporarily unavailable (os error 11)")
    regardless of the image version. Locally the default config fails
    reproducibly with hundreds of these errors, while --num-threads 1
    --num-tries 5 completes cleanly in ~3 min on community-latest.
    
    The tests already disable query execution (--num-queries 0) since the
    existing CnosDB integration is known to crash the database; reducing
    the iteration count is consistent with that intent.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    mrigger and claude committed Apr 26, 2026
    Configuration menu
    Copy the full SHA
    b491126 View commit details
    Browse the repository at this point in the history
  3. Wait for CnosDB DDL readiness before running tests

    CnosDB's HTTP listener starts almost immediately, but its Tskv storage
    layer takes additional seconds to initialize; running the first DROP
    DATABASE before it is ready returns EAGAIN. The previous probe (nc -z
    on the port) only confirms TCP, not DDL readiness. Poll a probe
    DROP+CREATE round-trip until it succeeds before handing off to mvn.
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    mrigger and claude committed Apr 26, 2026
    Configuration menu
    Copy the full SHA
    24a94bf View commit details
    Browse the repository at this point in the history
  4. Disable CnosDB CI job; upstream image is unstable

    cnosdb/cnosdb:community-* returns EAGAIN ("Tskv: Index: index storage
    error: Resource temporarily unavailable (os error 11)") on DROP
    DATABASE shortly after start. Even with --num-threads 1 --num-tries 5
    and a SQL/DDL readiness probe (which itself completes in 2s), a real
    DROP issued ~30s later still fails. The instability is server-side and
    client retries cannot outrun it; CnosDB ships no LTS tag to pin to.
    The job has been red on main for 14+ months.
    
    Skip the job (if: false) rather than delete it so it can be re-enabled
    once upstream stabilizes. Also drop the now-useless readiness probe.
    
    Reported upstream: cnosdb/cnosdb#2435
    
    Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
    mrigger and claude committed Apr 26, 2026
    Configuration menu
    Copy the full SHA
    38350f3 View commit details
    Browse the repository at this point in the history
Loading