Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,13 @@ public enum ChecksumCombineMode {
tags = ConfigTag.CLIENT)
private int maxECStripeWriteRetries = 10;

@Config(key = "ec.stripe.queue.size",
defaultValue = "2",
description = "The max number of EC stripes can be buffered in client " +
" before flushing into datanodes.",
tags = ConfigTag.CLIENT)
private int ecStripeQueueSize = 2;

@Config(key = "exclude.nodes.expiry.time",
defaultValue = "600000",
description = "Time after which an excluded node is reconsidered for" +
Expand Down Expand Up @@ -288,6 +295,10 @@ public int getMaxECStripeWriteRetries() {
return this.maxECStripeWriteRetries;
}

public int getEcStripeQueueSize() {
return this.ecStripeQueueSize;
}

public long getExcludeNodesExpiryTime() {
return excludeNodesExpiryTime;
}
Expand Down
Loading