Skip to content

CXXCBC-616: Columnar - report retry information when receiving a timeout from the HTTP component#681

Merged
DemetrisChr merged 1 commit intocouchbase:mainfrom
DemetrisChr:CXXCBC-616-timeout
Oct 16, 2024
Merged

CXXCBC-616: Columnar - report retry information when receiving a timeout from the HTTP component#681
DemetrisChr merged 1 commit intocouchbase:mainfrom
DemetrisChr:CXXCBC-616-timeout

Conversation

@DemetrisChr
Copy link
Copy Markdown
Contributor

We have client-side timeouts both for the overall query and for each individual HTTP operation, and it appears possible that the individual HTTP timeout gets triggered before the overall query one and we lose all the error context retry information (last errors, number of retry attempts).

We should handle a timeout error code coming from the HTTP component, and report the same retry fields in the error context that we would otherwise do.

Copy link
Copy Markdown
Contributor

@thejcfactor thejcfactor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM 👍

@DemetrisChr DemetrisChr merged commit b05f370 into couchbase:main Oct 16, 2024
@DemetrisChr DemetrisChr deleted the CXXCBC-616-timeout branch October 16, 2024 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants