Don't replace custom query handler if graph is being used
This commit is contained in:
		@@ -342,6 +342,8 @@ def use_cluster(cluster_name, nodes, ipformat=None, start=True, workloads=[]):
 | 
				
			|||||||
    try:
 | 
					    try:
 | 
				
			||||||
        jvm_args = []
 | 
					        jvm_args = []
 | 
				
			||||||
        # This will enable the Mirroring query handler which will echo our custom payload k,v pairs back
 | 
					        # This will enable the Mirroring query handler which will echo our custom payload k,v pairs back
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if 'graph' not in workloads:
 | 
				
			||||||
            if PROTOCOL_VERSION >= 4:
 | 
					            if PROTOCOL_VERSION >= 4:
 | 
				
			||||||
                jvm_args = [" -Dcassandra.custom_query_handler_class=org.apache.cassandra.cql3.CustomPayloadMirroringQueryHandler"]
 | 
					                jvm_args = [" -Dcassandra.custom_query_handler_class=org.apache.cassandra.cql3.CustomPayloadMirroringQueryHandler"]
 | 
				
			||||||
        if(len(workloads) > 0):
 | 
					        if(len(workloads) > 0):
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user