Skip to content

Easy Replication #749

Closed
Closed

Description

@lvca

Discussed in #744

Originally posted by psytron January 6, 2023
Would it be possible to have a replication screen in Studio?
With option to select Local or Remote database, and then click replicate to have them magically synchronize like a mesh fungus.
easy_replication
For easy backups and moving datasets around, prod to local test etc.

Activity

  1. added
    enhancement
    on Jan 9, 2023
  2. self-assigned this
    on Jan 9, 2023
  3. added this to the 23.1.1 milestone on Jan 9, 2023
  4. emdax commented on Jan 10, 2023

    @emdax

    Maybe a list of all servers and drop down on each line to change target ?
    🤖-Server1--[ address ][ user ][ pw ]--target:[ Server3 ][ db ]🔄Sync▶️
    🤖-Server2--[ address ][ user ][ pw ]--target:[ select ][ db ]🔄Sync▶️
    🤖-Server3--[ address ][ user ][ pw ]--target:[ select ][ db ]🔄Sync▶️
    🤖-Server4--[ address ][ user ][ pw ]--target:[ Server3 ][ db ]🔄Sync▶️

    And then drop down for targets is automatically populated with all servers in main list

  5. lvca commented on Jan 10, 2023

    @lvca
    MemberAuthor

    With ArcadeDB servers must have the same databases. You can't have a mixed configuration of databases and servers. For example, if you have 5 servers and 10 databases, you can't decide that database 1 goes on servers 2, 4, and 6. All 10 databases go on the 5 servers. If you need to partition your cluster differently, you can create multiple clusters. This dramatically simplifies the replication (like in OrientDB) and makes things faster and easier to maintain and test.

  6. emdax commented on Jan 10, 2023

    @emdax

    With ArcadeDB servers must have the same databases. You can't have a mixed configuration of databases and servers. For example, if you have 5 servers and 10 databases, you can't decide that database 1 goes on servers 2, 4, and 6. All 10 databases go on the 5 servers. If you need to partition your cluster differently, you can create multiple clusters. This dramatically simplifies the replication (like in OrientDB) and makes things faster and easier to maintain and test.

    Ok Sounds good. I actually moved this comment to Discussions since it seemed more brainstormy for now since I wasn't sure which was the ideal relevant spot to add it.

  7. lvca commented on Jan 10, 2023

    @lvca
    MemberAuthor

    Just pushed another train of commits to improve the Studio and server-side commands.

    New Connect/Disconnect in the Cluster page. Now you can start 2 servers and let them connect with Studio.

    image

    Still not perfect, but usable.

    Also, you can shut down a server with the power button next to its entry in the table.

  8. gramian commented on Jan 10, 2023

    @gramian
    Collaborator

    With ArcadeDB servers must have the same databases. You can't have a mixed configuration of databases and servers. For example, if you have 5 servers and 10 databases, you can't decide that database 1 goes on servers 2, 4, and 6. All 10 databases go on the 5 servers. If you need to partition your cluster differently, you can create multiple clusters. This dramatically simplifies the replication (like in OrientDB) and makes things faster and easier to maintain and test.

    Is this info in the docs already? If not, I think we should add it. I was also not aware of this yet, but it makes total sense.

  9. lvca commented on Jan 10, 2023

    @lvca
    MemberAuthor

    Not sure if it's in the docs, but probably not very clear.

  10. lvca commented on Jan 16, 2023

    @lvca
    MemberAuthor

    Postponing this issue to the next release because the manual control of synchronization is still missing.

  11. modified the milestones: 23.1.1, 23.1.2 on Jan 16, 2023
  12. lvca commented on Feb 1, 2023

    @lvca
    MemberAuthor

    Manual synchronization is now available. Closing the issue.

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

Metadata

Metadata

Assignees

Labels

enhancement

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions