Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-2872 Add Replication functionality to Derby
  3. DERBY-3205

Replication: Add connection url command options for starting, stopping slave and for failover

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 10.4.1.3
    • 10.4.1.3
    • JDBC
    • None

    Description

      Add commands to start and stop the replication slave using properties or connection url. Example:

      'jdbc:derby:<host><dbname>;startSlave=true';
      'jdbc:derby:<host><dbname>;stopSlave=true';
      'jdbc:derby:<host><dbname>;failover=true;

      Connection url options that must be recognized:
      startSlave=true
      stopSlave=true
      failover=true
      slaveHost=<host> (optional, defaults to localhost) (only for startSlave)
      slavePort=<port> (optional, defaults to 8001) (only for startSlave)

      See functional specification on Derby-2872 for further details.

      Attachments

        1. derby-3205_startslave_dontcommit.diff
          9 kB
          Jorgen Loland
        2. derby-3205_startslave_dontcommit.stat
          0.4 kB
          Jorgen Loland
        3. StopSlave_impl_3205_NotForCommit_v1.diff
          9 kB
          V.Narayanan
        4. StopSlave_impl_3205_NotForCommit_v1.stat
          0.5 kB
          V.Narayanan
        5. failover_impl_3205_NotForCommit_v1.diff
          8 kB
          V.Narayanan
        6. failover_impl_3205_NotForCommit_v1.stat
          0.5 kB
          V.Narayanan
        7. startSlave_1a.stat
          0.2 kB
          Jorgen Loland
        8. startSlave_1a.diff
          7 kB
          Jorgen Loland
        9. startSlave_1b.stat
          0.3 kB
          Jorgen Loland
        10. startSlave_1b.diff
          9 kB
          Jorgen Loland
        11. startSlave_1c.diff
          9 kB
          Jorgen Loland
        12. startSlave_1d.diff
          10 kB
          Jorgen Loland
        13. failover_impl_3205_v1.diff
          8 kB
          V.Narayanan
        14. failover_impl_3205_v1.stat
          0.5 kB
          V.Narayanan
        15. stopSlave_v1a.diff
          18 kB
          Jorgen Loland
        16. stopSlave_v1a.stat
          0.6 kB
          Jorgen Loland
        17. Socket_Close_Fix_v1.diff
          2 kB
          V.Narayanan
        18. Socket_Close_Fix_v1.stat
          0.2 kB
          V.Narayanan
        19. stopSlave_v1b.stat
          0.9 kB
          Jorgen Loland
        20. stopSlave_v1b.diff
          31 kB
          Jorgen Loland
        21. failover_impl_3205_v2.diff
          13 kB
          V.Narayanan
        22. failover_impl_3205_v2.stat
          0.8 kB
          V.Narayanan
        23. stopSlave_v1c.stat
          1 kB
          Jorgen Loland
        24. stopSlave_v1c.diff
          35 kB
          Jorgen Loland
        25. failover_impl_3205_v3.diff
          13 kB
          V.Narayanan
        26. failover_impl_3205_v3.stat
          0.8 kB
          V.Narayanan
        27. failover_impl_3205_v4.diff
          12 kB
          V.Narayanan
        28. failover_impl_3205_v4.stat
          0.8 kB
          V.Narayanan
        29. failover-slave-1a.stat
          0.6 kB
          Jorgen Loland
        30. failover-slave-1a.diff
          19 kB
          Jorgen Loland
        31. failover-slave-2a.stat
          0.2 kB
          Jorgen Loland
        32. failover-slave-2a.diff
          10 kB
          Jorgen Loland
        33. failover-slave-2b.diff
          9 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: