Derby
  1. Derby
  2. DERBY-2978

Replication: Add slave replication mode

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: 10.4.1.3
    • Component/s: Replication
    • Labels:
      None

      Description

      One Derby instance will have the master role and another Derby instance will have the slave role when a database is replicated. See the functional specification of DERBY-2872 for more details about the roles.

      This JIRA is for issues that are part of the slave role.

        Issue Links

        There are no Sub-Tasks for this issue.

          Activity

          Hide
          Jørgen Løland added a comment -

          All sub-tasks completed. Only remaining task is to ship the database from the master to the slave location using the replication network at replication startup. Filed DERBY-3434 for this.

          Show
          Jørgen Løland added a comment - All sub-tasks completed. Only remaining task is to ship the database from the master to the slave location using the replication network at replication startup. Filed DERBY-3434 for this.
          Hide
          Jørgen Løland added a comment -

          The slave will receive and redo log records sent from the master. The initial plan-sketch for the slave is:

          • Add a replication slave controller that will manage the slave functionality. Use the same strategy as decided in DERBY-2977 (Replication master controller)
          • Add a log receiving service that applies received log records to the local log file
          • Make Derby stay in recover for as long as it has the slave role. Also includes roll-forward of log records received from the master
          Show
          Jørgen Løland added a comment - The slave will receive and redo log records sent from the master. The initial plan-sketch for the slave is: Add a replication slave controller that will manage the slave functionality. Use the same strategy as decided in DERBY-2977 (Replication master controller) Add a log receiving service that applies received log records to the local log file Make Derby stay in recover for as long as it has the slave role. Also includes roll-forward of log records received from the master

            People

            • Assignee:
              Jørgen Løland
              Reporter:
              Jørgen Løland
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development