risdenk opened a new pull request #104: DefaultKeystoreService should use Java NIO API locking as well URL: https://github.com/apache/knox/pull/104 ## What changes were proposed in this pull request? Use Java NIO locking to ensure that Keystores are not written to by multiple processes. Removes the read/write lock and falls back to synchronized methods for the few interactions with keystores. Reading should be handled by the OS and will wait until the writing lock is released. ## How was this patch tested? * `mvn -T.5C clean verify -Ppackage,release` * Will be trying to change aliases with both `knoxcli` and the `gateway` to see if corrupt keystore issue goes away.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
