mirror of https://github.com/apache/cassandra
Use MAX_PARALLEL_TRANSFERS instead of default
Patch by brandonwilliams, reviewed by mck for CASSANDRA-20532
This commit is contained in:
parent
d4d858d382
commit
43746c13c2
|
|
@ -1,4 +1,5 @@
|
|||
4.0.18
|
||||
* Honor MAX_PARALLEL_TRANSFERS correctly (CASSANDRA-20532)
|
||||
* Updating a column with a new TTL but same expiration time is non-deterministic and causes repair mismatches. (CASSANDRA-20561)
|
||||
* Grant permission on keyspaces system_views and system_virtual_schema not possible (CASSANDRA-20171)
|
||||
* Avoid computing prepared statement size for unprepared batches (CASSANDRA-20556)
|
||||
|
|
|
|||
|
|
@ -89,7 +89,7 @@ public class NettyStreamingMessageSender implements StreamingMessageSender
|
|||
private static final long DEFAULT_CLOSE_WAIT_IN_MILLIS = TimeUnit.MINUTES.toMillis(5);
|
||||
|
||||
// a simple mechansim for allowing a degree of fairnes across multiple sessions
|
||||
private static final Semaphore fileTransferSemaphore = new Semaphore(DEFAULT_MAX_PARALLEL_TRANSFERS, true);
|
||||
private static final Semaphore fileTransferSemaphore = new Semaphore(MAX_PARALLEL_TRANSFERS, true);
|
||||
|
||||
private final StreamSession session;
|
||||
private final boolean isPreview;
|
||||
|
|
|
|||
Loading…
Reference in New Issue