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-ci-resource-error
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 6 commits
  • 4 files changed
  • 2 contributors

Commits on Apr 5, 2026

  1. Fix CnosDB CI: SQL readiness check and resolve Log4j version conflicts

    Two issues caused CnosDB test failures:
    1. HTTP ping responded before storage layer was ready, causing
       "Resource temporarily unavailable" on first SQL command. Use
       SQL-level readiness check instead.
    2. Mismatched Log4j versions (log4j-api 2.10.0 vs log4j-core 2.18.0)
       from Hive transitive dependencies caused NoSuchMethodError. Exclude
       log4j-slf4j-impl from Hive deps, align Log4j2 at 2.24.3, and add
       log4j-slf4j2-impl for SLF4J 2.x compatibility.
    
    Also fix copy-paste error in CI step name and upgrade HSQLDB to 2.7.4.
    
    Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
    mrigger and claude committed Apr 5, 2026
    Configuration menu
    Copy the full SHA
    6040f15 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    4898989 View commit details
    Browse the repository at this point in the history
  3. Fix CnosDB CI: use public DB context for DROP/CREATE, single thread, …

    …and SQL readiness check
    
    CnosDB cannot reliably drop a database when the API request targets that
    same database. Use a separate client connected to "public" for DROP/CREATE
    DATABASE operations. Also limit to single thread since CnosDB's storage
    engine cannot handle concurrent database lifecycle operations, and replace
    the CI port check with a SQL readiness poll.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    mrigger and claude committed Apr 5, 2026
    Configuration menu
    Copy the full SHA
    e3a5407 View commit details
    Browse the repository at this point in the history

Commits on Apr 6, 2026

  1. Fix CnosDB CI: retry DDL on storage layer initialization delays

    CnosDB's Tskv index storage may not be fully ready even after the HTTP
    API responds to simple queries. On CI runners, DDL operations like
    DROP/CREATE DATABASE consistently fail with "Resource temporarily
    unavailable (os error 11)". Additionally, a newly created database may
    not be immediately queryable, causing "Database not found" errors.
    
    Add executeWithRetry() that retries these specific transient errors
    during database setup.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    mrigger and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    971fb44 View commit details
    Browse the repository at this point in the history
  2. Fix CnosDB CI: also retry on "already exists" after delayed DROP

    The DROP DATABASE may appear to succeed but not yet propagate in
    CnosDB's storage layer, causing the subsequent CREATE DATABASE to
    fail with "Database already exists".
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    mrigger and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    8ed632e View commit details
    Browse the repository at this point in the history
  3. Fix CnosDB CI: retry DROP+CREATE as a pair on storage lag

    Retrying just CREATE DATABASE on "already exists" is futile when the
    preceding DROP hasn't propagated in CnosDB's storage layer. Instead,
    retry the DROP+CREATE sequence together so the DROP is re-issued before
    each CREATE attempt.
    
    Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
    mrigger and claude committed Apr 6, 2026
    Configuration menu
    Copy the full SHA
    e9a6c8b View commit details
    Browse the repository at this point in the history
Loading