It sounds way less offensive to those who decry the original terminology’s problematic roots but still keeps its meaning intact.

  • dragonlobster@programming.dev
    link
    fedilink
    arrow-up
    3
    ·
    29 days ago

    For a distributed database there is also fragmentation/sharing though. In this case calling the nodes replicas is not accurate. I guess you would call these “shard” or “dsta” nodes.

    You are right about the “slaves” not behaving, in fact they jump on the chance to become the “master” themselves once the current “master” goes down. Then there is the split-brain problem.

    It’s really more like a worker boss relationship, but I would hesitate to call database nodes “workers” because this one is usually used for a processing engine like Spark.

      • maniii@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        29 days ago

        Usually quorum is maintained by using odd numbering so that when one node fails the next sequential node assumes the role allowing quorum-election breaking any ties.

    • JackbyDev@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      29 days ago

      In Cassandra all nodes are equal, but specific nodes hold specific parts of data. The only concept is the coordinator node which is the node that got the query. All nodes can handle all queries. The coordinator node is different per request.