You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ok, just changed the message to ArcadeDB is not running with High Availability module enabled. Please add this setting at startup: -Darcadedb.ha.enabled=true
When I set
-Darcadedb.ha.enabled=true
the docker container does not seem to start anymore:
generic-arcade-1 | Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.arcadedb.server.ha.HAServer.isLeader()" because the return value of "com.arcadedb.server.ArcadeDBServer.getHA()" is null
generic-arcade-1 | at com.arcadedb.server.ha.ReplicatedDatabase.command(ReplicatedDatabase.java:577)
generic-arcade-1 | at com.arcadedb.server.ServerDatabase.command(ServerDatabase.java:411)
generic-arcade-1 | at com.arcadedb.server.ArcadeDBServer.loadDefaultDatabases(ArcadeDBServer.java:471)
generic-arcade-1 | at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:129)
generic-arcade-1 | at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:90)
^[[B
Ok. Pulled latest. Now when I try to add replication target the window disappears and nothing happens:
I have fresh clean Ubuntu machines online, accessible/running instances of ArcadeDB. I can verify they're online, all accessible. Replication does not work from any of them, also does not work with localhost.
In the Docker logs I see: Error connecting to the remote Leader server .
But Studio/Frontend is just quietly showing zero feedback.
Also. In my humble opinion for a maximum PlayWithData approach, most users would love to skip the part where you have to think about "HA configuration" or "leader election". Just let users paste URL of live nodes and have the system figure itself out like a mesh network.
Also: The little pop-up window which says "Connect to a cluster" :
After a user clicks "Send" The window disappears and then the configuration is gone....
No user feedback. No acknowledgement of any kind that time was just invested.
The pop-up window just disappears and nothing happens.
This is a very frustrating UX because it makes you feel like Arcade is not respecting users time and simply black-holing valuable configuration investments.
It would be great if (at the very least) it would store and display a line item showing the data which was entered.
Even if it fails with errors it would be great to reflect the work that was just done..
it's a good idea to save the latest input and pre-fill it every time.
About the leader election, there's nothing a user can do: the election is executed by the servers automatically.
You should receive a popup immediately after sending the command that the command was processed. It should be top right of the screen and it remains open for like 5 seconds. In case of errors, it's a red popup with the detail of the problem.
Ok, just implemented the saving of the last input. Very useful, thanks!
Now if there is an error during the connect is sent back to the UX. Before there was just an acknowledge of the command received. Please get the latest from main branch and test if this completely solves the issues.
(Refresh the browser to use the latest studio after the update)
Just updated to latest image:
v23.1.2-SNAPSHOT (build 477a660/1674253051356/main)
In our opinion the workflow is still pretty glitchy.
Clicking the "Send" button leaves user with zero feedback while the daemon figures out if it worked or not. So it still feels like it's black-holing user input and ignoring precious configuration moments.
This is just our opinion though. You have a lot of great concepts in this product and I suppose you have other priorities. This is just feedback.
The ideal functionality would be great:
A) immediately and clearly acknowledge the users valuable configuration investments. This means even before the call goes out to the server daemon some line-item should appear, with a spinner showing progress, and the address / credentials which were just entered. To make the user genuinely feel like Studio has Listenened to this input. ( currently- after clicking "send" everything disappears and then.... nothing happens.... until 30 seconds later the pink error shows "Timeout" or something.
B) Only after the UI immediately and clearly shows that Studio has registered the user input and saved the data , should the call be made to the server daemon to attempt begin of replication etc.
Again you have a great product, these are just opinions from rando internet user.
Activity
lvca commentedon Jan 17, 2023
I can't reproduce this exact issue, but it looks like ArcadeDB wasn't started with HA enabled. Try setting:
At startup. I'm going to look closely to the exception and provide a better error, at least.
fix: added message when HA is disabled
lvca commentedon Jan 17, 2023
Ok, just changed the message to
ArcadeDB is not running with High Availability module enabled. Please add this setting at startup: -Darcadedb.ha.enabled=truepsytron commentedon Jan 18, 2023
When I set
-Darcadedb.ha.enabled=true
the docker container does not seem to start anymore:
generic-arcade-1 | Exception in thread "main" java.lang.NullPointerException: Cannot invoke "com.arcadedb.server.ha.HAServer.isLeader()" because the return value of "com.arcadedb.server.ArcadeDBServer.getHA()" is null
generic-arcade-1 | at com.arcadedb.server.ha.ReplicatedDatabase.command(ReplicatedDatabase.java:577)
generic-arcade-1 | at com.arcadedb.server.ServerDatabase.command(ServerDatabase.java:411)
generic-arcade-1 | at com.arcadedb.server.ArcadeDBServer.loadDefaultDatabases(ArcadeDBServer.java:471)
generic-arcade-1 | at com.arcadedb.server.ArcadeDBServer.start(ArcadeDBServer.java:129)
generic-arcade-1 | at com.arcadedb.server.ArcadeDBServer.main(ArcadeDBServer.java:90)
^[[B
lvca commentedon Jan 18, 2023
Reproduced. Working on it.
fix: changed the importing database from settings: now it happens aft…
lvca commentedon Jan 18, 2023
Changed the order of when imported databases are loaded. Tested with the docker and works.
psytron commentedon Jan 18, 2023
Ok. Pulled latest. Now when I try to add replication target the window disappears and nothing happens:

I have fresh clean Ubuntu machines online, accessible/running instances of ArcadeDB. I can verify they're online, all accessible. Replication does not work from any of them, also does not work with localhost.
In the Docker logs I see: Error connecting to the remote Leader server .
But Studio/Frontend is just quietly showing zero feedback.
psytron commentedon Jan 18, 2023
Also. In my humble opinion for a maximum PlayWithData approach, most users would love to skip the part where you have to think about "HA configuration" or "leader election". Just let users paste URL of live nodes and have the system figure itself out like a mesh network.
psytron commentedon Jan 18, 2023
Also: The little pop-up window which says "Connect to a cluster" :
After a user clicks "Send" The window disappears and then the configuration is gone....
No user feedback. No acknowledgement of any kind that time was just invested.
The pop-up window just disappears and nothing happens.
This is a very frustrating UX because it makes you feel like Arcade is not respecting users time and simply black-holing valuable configuration investments.
It would be great if (at the very least) it would store and display a line item showing the data which was entered.
Even if it fails with errors it would be great to reflect the work that was just done..
lvca commentedon Jan 19, 2023
it's a good idea to save the latest input and pre-fill it every time.
About the leader election, there's nothing a user can do: the election is executed by the servers automatically.
You should receive a popup immediately after sending the command that the command was processed. It should be top right of the screen and it remains open for like 5 seconds. In case of errors, it's a red popup with the detail of the problem.
What release are you using?
feat: improvements in studio connect to cluster
lvca commentedon Jan 19, 2023
Ok, just implemented the saving of the last input. Very useful, thanks!
Now if there is an error during the connect is sent back to the UX. Before there was just an acknowledge of the command received. Please get the latest from
mainbranch and test if this completely solves the issues.(Refresh the browser to use the latest studio after the update)
psytron commentedon Jan 21, 2023
Just updated to latest image:
v23.1.2-SNAPSHOT (build 477a660/1674253051356/main)
In our opinion the workflow is still pretty glitchy.
Clicking the "Send" button leaves user with zero feedback while the daemon figures out if it worked or not. So it still feels like it's black-holing user input and ignoring precious configuration moments.
This is just our opinion though. You have a lot of great concepts in this product and I suppose you have other priorities. This is just feedback.
The ideal functionality would be great:
A) immediately and clearly acknowledge the users valuable configuration investments. This means even before the call goes out to the server daemon some line-item should appear, with a spinner showing progress, and the address / credentials which were just entered. To make the user genuinely feel like Studio has Listenened to this input. ( currently- after clicking "send" everything disappears and then.... nothing happens.... until 30 seconds later the pink error shows "Timeout" or something.
B) Only after the UI immediately and clearly shows that Studio has registered the user input and saved the data , should the call be made to the server daemon to attempt begin of replication etc.
Again you have a great product, these are just opinions from rando internet user.
lvca commentedon Jan 29, 2023
Thanks for the feedback. The
connectin the studio should return immediately feedback, in case of success or error.lvca commentedon Feb 1, 2023
Closing this issue, but please feel free to further comment if you have any ideas to improve the current workflow after you tried the upcoming 23.1.2!
fix: added message when HA is disabled
fix: changed the importing database from settings: now it happens aft…
feat: improvements in studio connect to cluster