The GitHub Actions job "Build and Run Tests by Maven" on 
rocketmq.git/fix/receive-message-null-deadline has failed.
Run started by GitHub user zjncs (triggered by zjncs).

Head commit for run:
f767f71e6c18325f2db2f99a565bf22a74767d4b / zjncs <[email protected]>
fix(proxy): fall back to max long polling timeout when gRPC deadline is absent

ContextInitPipeline only records the remaining deadline time when the
gRPC call actually carries a deadline. For a call without one - which
gRPC allows - ctx.getRemainingMs() returned null and the unboxing in
the pollingTime computation threw a NullPointerException, which the
catch block turned into an INTERNAL_SERVER_ERROR response.

Treat an absent deadline as grpcClientConsumerMaxLongPollingTimeoutMillis
remaining time: pollingTime and the timeout passed to popMessage stay
bounded by the configured maximum instead of crashing.

Report URL: https://github.com/apache/rocketmq/actions/runs/34573322644

With regards,
GitHub Actions via GitBox

Reply via email to