Skip to content

API BUG - /api/v1/server?mode=cluster no longer works #4261

@hoogenbj

Description

@hoogenbj

ArcadeDB Version is 26.5.1
I tried to dump the properties with -Darcadedb.environment.dumpCfgAtStartup=true, but this appeared to have no effect.
I am running embedded ArcadeDB, HA with 3 nodes in Kubernetes. Log file entries are available further down.
Steps to reproduce: Call the given API and expect to see information about the cluster - but there's nothing.

Calling the API in version 26.3.2 resulted in this output:

  "user": "root",
  "version": "26.3.2 (build b18da94ef194ea41cfa0e6ae83b74ede43d26c51/1774109904673/main)",
  "serverName": "arcadesplit3",
  "languages": [
    "sqlscript",
    "gremlin",
    "java",
    "cypher",
    "js",
    "sql",
    "opencypher"
  ],
  "ha": {
    "clusterName": "arcadedb",
    "leader": "arcadesplit3",
    "electionStatus": "DONE",
    "network": {
      "current": {
        "name": "arcadesplit3",
        "address": "<redacted>",
        "role": "Leader",
        "status": "ONLINE",
        "joinedOn": "09:18:04"
      },
      "replicas": [
        {
          "name": "arcadesplit1",
          "address": "<redacted>",
          "role": "Replica",
          "status": "ONLINE",
          "joinedOn": "09:24:22",
          "leftOn": "",
          "throughput": "136b (2b/s)",
          "latency": ""
        },
        {
          "name": "arcadesplit2",
          "address": "<redacted>",
          "role": "Replica",
          "status": "ONLINE",
          "joinedOn": "09:20:08",
          "leftOn": "",
          "throughput": "225b (0b/s)",
          "latency": ""
        }
      ]
    },
    "databases": [
    ],
    "leaderAddress": "<redacted>",
    "replicaAddresses": "<redacted>,<redacted>"
  }
}

After upgrading to 26.5.1, the output became:

  "user": "root",
  "version": "26.5.1 (build b6d08fee549dd5930303b362223869901aab0fac/1778533954349/main)",
  "serverName": "arcadesplit3",
  "languages": [
    "sqlscript",
    "gremlin",
    "java",
    "opencypher",
    "js",
    "sql",
    "opencypher"
  ]
}

I have trace logging enabled in log4j2.xml:

...
<Logger name="com.arcadedb" level="TRACE" additivity="false">
                <AppenderRef ref="main" level="DEBUG"/>
                <AppenderRef ref="trace"/>
    </Logger>
...

I see some logging, but not as much as I expected:

 ] 2026-05-19 09:14:10.574 [main] ArcadeDBServer - Server is running inside Kubernetes. Hostname: splitter-0.splitter.sbu.svc.cluster.local
[INFO ] 2026-05-19 09:14:10.578 [main] ArcadeDBServer - <splitter-0> ArcadeDB Server v26.5.1 (build b6d08fee549dd5930303b362223869901aab0fac/1778533954349/main) is starting up...
[INFO ] 2026-05-19 09:14:10.582 [main] ArcadeDBServer - <splitter-0> Running on Linux 6.6.114.1-microsoft-standard-WSL2 - OpenJDK 64-Bit Server VM 21.0.11 (Corretto-21.0.11.10.1)
[INFO ] 2026-05-19 09:14:10.617 [main] ArcadeDBServer - <splitter-0> Starting ArcadeDB Server in development mode with plugins [AutoBackupSchedulerPlugin, GremlinServerPlugin] ...
[DEBUG] 2026-05-19 09:14:11.092 [main] QueryEngineManager - <splitter-0> Unable to register engine 'com.arcadedb.mongo.query.MongoQueryEngineFactory' (com.arcadedb.mongo.query.MongoQueryEngineFactory)
[DEBUG] 2026-05-19 09:14:11.093 [main] QueryEngineManager - <splitter-0> Unable to register engine 'com.arcadedb.graphql.query.GraphQLQueryEngineFactory' (com.arcadedb.graphql.query.GraphQLQueryEngineFactory)
[DEBUG] 2026-05-19 09:14:11.094 [main] QueryEngineManager - <splitter-0> Unable to register engine 'com.arcadedb.redis.query.RedisQueryEngineFactory' (com.arcadedb.redis.query.RedisQueryEngineFactory)
[INFO ] 2026-05-19 09:14:11.103 [main] ArcadeDBServer - <splitter-0> Metrics Collection Started
[INFO ] 2026-05-19 09:14:11.116 [main] ArcadeDBServer - <splitter-0> Paths - server root: . - databases: ./databases - backups: ./backups
[DEBUG] 2026-05-19 09:14:11.189 [main] PaginatedComponentFile - <splitter-0> Unable to disable channel close on interrupt: Unable to make field private sun.nio.ch.Interruptible java.nio.channels.spi.AbstractInterruptibleChannel.interruptor accessible: module java.base does not "opens java.nio.channels.spi" to unnamed module @175b9425
[DEBUG] 2026-05-19 09:14:11.258 [main] PageManager - <splitter-0> Loaded page PageId(Netflix/0/0) v=3 (threadId=1)
[DEBUG] 2026-05-19 09:14:11.294 [main] LocalSchema - <splitter-0> Saving schema configuration to file - versionSerial = 30 
[INFO ] 2026-05-19 09:14:11.345 [main] GremlinServerPlugin - <splitter-0> Cannot find Gremlin Server configuration file '/config/gremlin-server.yaml'. Using default configuration
[INFO ] 2026-05-19 09:14:11.430 [main] ServerGremlinExecutor - Initialized Gremlin thread pool.  Threads in pool named with pattern gremlin-*
[INFO ] 2026-05-19 09:14:11.438 [main] ArcadeGraphManager - <splitter-0> Mapping 'g' alias to database 'Netflix'
[INFO ] 2026-05-19 09:14:11.559 [main] ArcadeGraphManager - <splitter-0> Dynamically registered database 'Netflix' as Gremlin graph
[INFO ] 2026-05-19 09:14:11.561 [main] ServerGremlinExecutor - Initialized GremlinExecutor and preparing GremlinScriptEngines instances.
[INFO ] 2026-05-19 09:14:12.818 [main] ServerGremlinExecutor - Initialized gremlin-groovy GremlinScriptEngine and registered metrics
[INFO ] 2026-05-19 09:14:12.821 [main] ServerGremlinExecutor - A GraphTraversalSource is now bound to [Netflix] with graphtraversalsource[arcadegraph[Netflix], standard]
[INFO ] 2026-05-19 09:14:12.822 [main] ServerGremlinExecutor - A GraphTraversalSource is now bound to [g] with graphtraversalsource[arcadegraph[Netflix], standard]
[INFO ] 2026-05-19 09:14:12.833 [main] OpLoader - Adding the standard OpProcessor.
[INFO ] 2026-05-19 09:14:13.096 [main] OpLoader - Adding the session OpProcessor.
[INFO ] 2026-05-19 09:14:13.099 [main] OpLoader - Adding the traversal OpProcessor.
[INFO ] 2026-05-19 09:14:13.139 [main] GremlinServer - idleConnectionTimeout was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled
[INFO ] 2026-05-19 09:14:13.140 [main] GremlinServer - keepAliveInterval was set to 0 which resolves to 0 seconds when configuring this value - this feature will be disabled
[INFO ] 2026-05-19 09:14:13.155 [main] AbstractChannelizer - Configured application/vnd.gremlin-v2.0+json with org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV2
[INFO ] 2026-05-19 09:14:13.155 [main] AbstractChannelizer - Configured application/json with org.apache.tinkerpop.gremlin.util.ser.GraphSONMessageSerializerV2
[INFO ] 2026-05-19 09:14:13.194 [main] AbstractChannelizer - Configured application/vnd.graphbinary-v1.0 with org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1
[INFO ] 2026-05-19 09:14:13.195 [main] AbstractChannelizer - Configured application/vnd.graphbinary-v1.0-stringd with org.apache.tinkerpop.gremlin.util.ser.GraphBinaryMessageSerializerV1
[INFO ] 2026-05-19 09:14:13.239 [main] PluginManager - <splitter-0> - GremlinServerPlugin plugin started
[INFO ] 2026-05-19 09:14:13.240 [main] HttpServer - <splitter-0> - Starting HTTP Server (host=0.0.0.0 port=[2480, 2489] httpsPort=[2490, 2499])...
[INFO ] 2026-05-19 09:14:13.240 [gremlin-server-boss-1] GremlinServer - Gremlin Server configured with worker thread pool of 1, gremlin pool of 12 and boss thread pool of 1.
[INFO ] 2026-05-19 09:14:13.241 [gremlin-server-boss-1] GremlinServer - Channel started at port 8182.
[INFO ] 2026-05-19 09:14:13.557 [main] undertow - starting server: Undertow - 2.4.0.Final
[INFO ] 2026-05-19 09:14:13.570 [main] xnio - XNIO version 3.8.16.Final
[INFO ] 2026-05-19 09:14:13.581 [main] nio - XNIO NIO Implementation Version 3.8.16.Final
[INFO ] 2026-05-19 09:14:13.652 [main] HttpServer - <splitter-0> - HTTP Server started (host=0.0.0.0 port=2480 httpsPort=2490)
[INFO ] 2026-05-19 09:14:13.658 [main] AutoBackupSchedulerPlugin - <splitter-0> Auto-backup scheduler disabled: config/backup.json not found
[INFO ] 2026-05-19 09:14:13.658 [main] PluginManager - <splitter-0> - AutoBackupSchedulerPlugin plugin configured but not active
[INFO ] 2026-05-19 09:14:13.659 [main] ArcadeDBServer - <splitter-0> Available query languages: [sqlscript, gremlin, java, opencypher, js, sql, opencypher]
[INFO ] 2026-05-19 09:14:13.660 [main] ArcadeDBServer - <splitter-0> ArcadeDB Server started in 'development' mode (CPUs=12 MAXRAM=989.88MB)```

Let me know if you need more info.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions