Open samos123 opened 2 months ago
This is happening frequently, pretty much during every large batch:
2024-07-05T18:07:15Z ERROR setup starting messenger {"error": "pubsub (code=InvalidArgument): rpc error: code = InvalidArgument desc = Some acknowledgement ids in the request were invalid. This could be because the acknowledgement ids have expired or the acknowledgement ids were malformed.\nerror details: name = ErrorInfo reason = EXACTLY_ONCE_ACKID_FAILURE domain = pubsub.googleapis.com metadata = PERMANENT_FAILURE_INVALID_ACK_ID]", "errorVerbose": "pubsub (code=InvalidArgument):\n gocloud.dev/pubsub.newAckBatcher.func1\n /go/pkg/mod/gocloud.dev@v0.37.0/pubsub/pubsub.go:794\n - rpc error: code = InvalidArgument desc = Some acknowledgement ids in the request were invalid. This could be because the acknowledgement ids have expired or the acknowledgement ids were malformed.\nerror details: name = ErrorInfo reason = EXACTLY_ONCE_ACKID_FAILURE domain = pubsub.googleapis.com metadata =..
I reverted the fix because it caused hangs. The correct fix will be to recreate the subscription instead
Error observed which triggered a restart:
I think this should be solved by restarting the messenger automatically so the autoscaler doesn't scale everything back to 0