HDDS-625. putKey hangs for a long time after completion, sometimes forever. Contributed by Arpit Agarwal
This commit is contained in:
parent
604c27c33a
commit
fb18cc5eaa
@ -70,6 +70,7 @@
|
|||||||
import java.net.ServerSocket;
|
import java.net.ServerSocket;
|
||||||
import java.net.SocketAddress;
|
import java.net.SocketAddress;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.UUID;
|
import java.util.UUID;
|
||||||
@ -240,7 +241,8 @@ private RaftProperties newRaftProperties(Configuration conf) {
|
|||||||
|
|
||||||
// Set the ratis storage directory
|
// Set the ratis storage directory
|
||||||
String storageDir = HddsServerUtil.getOzoneDatanodeRatisDirectory(conf);
|
String storageDir = HddsServerUtil.getOzoneDatanodeRatisDirectory(conf);
|
||||||
RaftServerConfigKeys.setStorageDir(properties, new File(storageDir));
|
RaftServerConfigKeys.setStorageDirs(properties,
|
||||||
|
Collections.singletonList(new File(storageDir)));
|
||||||
|
|
||||||
// For grpc set the maximum message size
|
// For grpc set the maximum message size
|
||||||
GrpcConfigKeys.setMessageSizeMax(properties,
|
GrpcConfigKeys.setMessageSizeMax(properties,
|
||||||
|
@ -103,7 +103,7 @@
|
|||||||
<ldap-api.version>1.0.0-M33</ldap-api.version>
|
<ldap-api.version>1.0.0-M33</ldap-api.version>
|
||||||
|
|
||||||
<!-- Apache Ratis version -->
|
<!-- Apache Ratis version -->
|
||||||
<ratis.version>0.3.0-9b84d79-SNAPSHOT</ratis.version>
|
<ratis.version>0.3.0-9b2d7b6-SNAPSHOT</ratis.version>
|
||||||
<jcache.version>1.0-alpha-1</jcache.version>
|
<jcache.version>1.0-alpha-1</jcache.version>
|
||||||
<ehcache.version>3.3.1</ehcache.version>
|
<ehcache.version>3.3.1</ehcache.version>
|
||||||
<hikari.version>2.4.12</hikari.version>
|
<hikari.version>2.4.12</hikari.version>
|
||||||
|
Loading…
Reference in New Issue
Block a user