-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Batch job with malformed query - hangs #9782
Copy link
Copy link
Closed
Labels
Description
Expected Behavior
Batch job to fail - with error indicating malformed query
Actual Behavior
batch job running - hangs indefinitely
Steps to Reproduce the Problem
Run a batch operation against Temporal - for eg. to delete with bad query
val query = "()"
val describeTaskQueueResponse = workflowClient.workflowServiceStubs.blockingStub().startBatchOperation(
StartBatchOperationRequest.newBuilder()
.setNamespace(namespace)
.setVisibilityQuery(query)
.setJobId(UUID.randomUUID().toString())
.setReason("why not")
.setDeletionOperation(
BatchOperationDeletion.newBuilder()
.build()
)
.build()
)
Note: starting a schedule with cli - validates the query and fails fast
Specifications
- Version:
- Platform:
Reactions are currently unavailable