smiklosovic commented on code in PR #2649:
URL: https://github.com/apache/cassandra/pull/2649#discussion_r1309758085
##########
src/java/org/apache/cassandra/streaming/StreamDeserializingTask.java:
##########
@@ -106,6 +107,11 @@ public StreamSession deriveSession(StreamMessage message)
// to be established a priori
StreamSession streamSession =
message.getOrCreateAndAttachInboundSession(channel, messagingVersion);
+ if (streamSession.getStreamOperation() == StreamOperation.BULK_LOAD &&
!DatabaseDescriptor.isBulkLoadEnabled())
+ {
+ throw new RuntimeException("Bulk Load is disabled");
Review Comment:
`Bulk load is disabled`.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]