accumulo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n..@apache.org
Subject [accumulo] branch master updated: Fixed a bug that caused WAL readers to potentially use the wrong cipher suite (#568)
Date Thu, 19 Jul 2018 20:50:41 GMT
This is an automated email from the ASF dual-hosted git repository.

ngf pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/accumulo.git


The following commit(s) were added to refs/heads/master by this push:
     new b509ffa  Fixed a bug that caused WAL readers to potentially use the wrong cipher
suite (#568)
b509ffa is described below

commit b509ffacffb1167d1ad3732b95e39b2b1eaebfdb
Author: Nick Felts <31989480+PircDef@users.noreply.github.com>
AuthorDate: Thu Jul 19 16:50:38 2018 -0400

    Fixed a bug that caused WAL readers to potentially use the wrong cipher suite (#568)
---
 .../tserver/src/main/java/org/apache/accumulo/tserver/log/DfsLogger.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/DfsLogger.java b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/DfsLogger.java
index b19b2c2..d3d2d5d 100644
--- a/server/tserver/src/main/java/org/apache/accumulo/tserver/log/DfsLogger.java
+++ b/server/tserver/src/main/java/org/apache/accumulo/tserver/log/DfsLogger.java
@@ -494,6 +494,7 @@ public class DfsLogger implements Comparable<DfsLogger> {
           && !params.getAllOptions().get(Property.CRYPTO_WAL_CIPHER_SUITE.getKey()).equals(""))
{
         params
             .setCipherSuite(params.getAllOptions().get(Property.CRYPTO_WAL_CIPHER_SUITE.getKey()));
+        params.getAllOptions().put(Property.CRYPTO_CIPHER_SUITE.getKey(), params.getCipherSuite());
       }
 
       NoFlushOutputStream nfos = new NoFlushOutputStream(logFile);


Mime
View raw message