Uploaded image for project: '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

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • Services
    • 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.

      Attachments

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

        Issue Links

          Activity

            People

              jorgenlo Jorgen Loland
              jorgenlo Jorgen Loland
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: