Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-3890

Replication: NPE for startSlave of encrypted database

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 10.4.1.3, 10.4.2.0
    • 10.5.1.1
    • Replication
    • None

    Description

      If slave replication mode is started on an encrypted database, derby fails with a NPE and then hangs. The reason for the hang is that LogToFile#initializeSlaveReplicationMode needs to scan the log to find the end. For encrypted databases, this scan uses RawStoreFactory#decrypt. At this stage, LTF#rawStoreFactory variable has not been set.

      A solution may be to set this variable in LTF before scanning the log.

      Attachments

        1. derby-3890-1.diff
          6 kB
          Jorgen Loland
        2. derby-3890-1.stat
          0.3 kB
          Jorgen Loland

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: