Details

    • Type: Sub-task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.7.0
    • Fix Version/s: None
    • Component/s: master
    • Labels:
      None

      Description

      In the current multi-master design and implementation, tservers only heartbeat to the leader master. After a master leader election, there's a short window of time in which the new leader master may not be aware of the existence of some (or even all) of the tservers. Attempts to create a table during this window may fail, as the tservers known to the new leader master may be too few to satisfy the new table's replication factor. Whether the window exists in the first place depends on whether the new leader master had been leader before, and whether any of the tservers had sent heartbeats to it during that time.

      Some possible solutions include:

      1. Modifying the heartbeat protocol so that tservers heartbeat to all masters, leaders and followers alike. Doing this will ensure that the "soft state" belonging to any master is always up-to-date at the cost of network bandwidth lost to heartbeating. Additionally, changes may need to be made to ensure that a follower master can't cause a tserver to take any actions.
      2. Never actually failing a create table request due to too few tservers, instead allowing it to linger until such a time when more tservers exist. For this to actually be practical we'd need to allow clients to "cancel" a previously issued create table request.

      Both approaches probably include additional ramifications; this problem needs to be thought through carefully.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                adar Adar Dembo
                Reporter:
                adar Adar Dembo
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: