Derby
  1. Derby
  2. DERBY-2922 Replication: Add master replication mode
  3. DERBY-2926

Replication: Add a log buffer for log records that should be shipped to the slave

    Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 10.4.1.3
    • Fix Version/s: 10.4.1.3
    • Component/s: Services
    • Labels:
      None

      Description

      When a Derby instance has the master role for a database, log records are shipped to the slave to keep it up to date. A buffer is needed because the log records should not be shipped one at a time. Also, writing the log records to a buffer instead of sending them immediately removes the network communication from the critical path for the transaction.

      1. bytebuffer_resizefix_1.diff
        2 kB
        Jørgen Løland
      2. bytebuffer_resizefix_1.stat
        0.1 kB
        Jørgen Løland
      3. bytebuffer_v1.diff
        16 kB
        Jørgen Løland
      4. bytebuffer_v1.stat
        0.3 kB
        Jørgen Løland
      5. bytebuffer_v1a.diff
        16 kB
        Jørgen Løland
      6. bytebuffer_v1a.stat
        0.3 kB
        Jørgen Løland
      7. bytebuffer_v1-fixheader.diff
        17 kB
        Jørgen Løland
      8. bytebuffer_v1-fixheader.stat
        0.4 kB
        Jørgen Løland
      9. bytebuffer_v2.diff
        30 kB
        Jørgen Løland
      10. bytebuffer_v2.stat
        0.4 kB
        Jørgen Løland
      11. bytebuffer_v2b.diff
        23 kB
        Jørgen Løland
      12. bytebuffer_v2b.stat
        0.4 kB
        Jørgen Løland

        Issue Links

          Activity

            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