GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Import Database issues with HA · Issue #3887 · ArcadeData/arcadedb

Import Database issues with HA #3887

New issue
Copy link
New issue
Copy link
Closed
Bug
Closed
Import Database issues with HA#3887
Bug
Copy link
Assignees
lvca
Labels
performance
Milestone
26.4.2

Description

@sashman-jaspin
sashman-jaspin
opened on Apr 17, 2026
Issue body actions

It takes well over 10 minutes to import the 10k whisky database with HA. Without HA it takes 2 seconds. I've got to be doing something horribly wrong. I have this config on three 5ghz servers which should be chewing this workload up :

services:
  arcadedb:
    image: arcadedata/arcadedb:26.3.2
    container_name: arcadedb
    hostname: ${SERVER_HOSTNAME}
    restart: unless-stopped
    ports:
      - "2480:2480"   # Studio / HTTP
      - "2424:2424"   # HA replication
    volumes:
      - ./databases:/home/arcadedb/databases
    environment:
      JAVA_OPTS: "${JAVA_OPTS}"
    extra_hosts:
      - "arcade-db-1:172.17.1.230"
      - "arcade-db-2:172.17.1.231"
      - "arcade-db-3:172.17.1.232"
    logging:
      driver: local
      options:
        max-size: "10m"
        max-file: "5"

SERVER_HOSTNAME=arcade-db-1
JAVA_OPTS=-Darcadedb.ha.quorumTimeout=120000 
-Darcadedb.ha.quorum=majority 
-Darcadedb.server.rootPassword=xxxxxxxxxxx 
-Darcadedb.server.mode=production 
-Darcadedb.server.name=arcadedb-230 
-Darcadedb.ha.enabled=true 
-Darcadedb.ha.clusterName=xxxxxxxxxxx 
-Darcadedb.ha.serverList=172.17.1.230:2424,172.17.1.231:2424,172.17.1.232:2424 
-Darcadedb.ha.replicationIncomingHost=0.0.0.0 
-Darcadedb.ha.serverRole=any

In production mode studio does not work, it 404s. So ran the import command line :

time curl -u root:xxxxxxxxxxx -X POST http://172.17.1.230:2480/api/v1/command/Whisky \
  -H "Content-Type: application/json" \
  -d '{"language":"sql","command":"IMPORT DATABASE https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/Whisky.gz"}'

{"error":"Error on transaction commit","detail":"Error on importing database -> Error on parsing source 'https://github.com/ArcadeData/arcadedb-datasets/raw/main/orientdb/Whisky.gz (compressed=true size=9594)' -> Error on importing OrientDB database -> Timeout waiting for quorum (2) to be reached for request 30","exception":"com.arcadedb.exception.CommandExecutionException"}

Activity

  1. lvca
    self-assigned this
    on Apr 22, 2026
  2. lvca
    added this to the 26.4.1 milestone on Apr 22, 2026
  3. lvca
    added the
    Bug
    issue type on Apr 22, 2026
  4. lvca commented on Apr 22, 2026

    @lvca
    lvca
    on Apr 22, 2026
    Member
    More actions

    We just merged the new HA module and I'm going to test this use case. One thing we noticed, synchronous operations, by default, waits for the majority quorum. With 3 nodes it's 2 nodes. So each transactions pays the latency of waiting for confirmation. This is the worst scenario for massive insertion in cluster.

    Much better using the async api that should allow thousands ops/sec.

    I'll run some test

  5. lvca
    added a commit that references this issue on Apr 22, 2026

    test: added test for issue #3887

    4cb5061
  6. lvca commented on Apr 22, 2026

    @lvca
    lvca
    on Apr 22, 2026
    Member
    More actions

    Just tested a similar database in the same format (OrientDB) and with 3 nodes takes a few seconds.

    Pull the latest version, main branch and try running RaftImportOrientDB3NodesIT.java.

    So the new HA architecture is much faster.

  7. lvca
    closed this as completedon Apr 22, 2026
  8. lvca
    added
    performance
    on Apr 22, 2026
  9. robfrank
    added a commit that references this issue on May 12, 2026

    test: added test for issue #3887

    9bc3392
  10. tae898
    added 3 commits that reference this issue on Jun 28, 2026

    chore(deps): bump org.postgresql:postgresql from 42.7.8 to 42.7.9 [sk…

    8941c44

    chore(deps): bump org.postgresql:postgresql from 42.7.9 to 42.7.10 [s…

    c9a275a

    test: added test for issue ArcadeData#3887

    e0ab57c
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @lvca
    lvca

Labels

performance

Type

Bug

Projects

No projects

    Milestone

    • 26.4.2

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.