Skip to content

Commit

Permalink
[filebeat][streaming] - Added more retry codes to websocket retry log…
Browse files Browse the repository at this point in the history
…ic (#42218) (#42229)
  • Loading branch information
mergify[bot] authored Jan 7, 2025
1 parent 945c5c1 commit ea6c30f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ https://github.com/elastic/beats/compare/v8.8.1\...main[Check the HEAD diff]
- Fix awss3 document ID construction when using the CSV decoder. {pull}42019[42019]
- Improve S3 object size metric calculation to support situations where Content-Length is not available. {pull}41755[41755]
- Fix Netflow Template Sharing configuration handling. {pull}42080[42080]
- Updated websocket retry error code list to allow more scenarios to be retried which could have been missed previously. {pull}42218[42218]

*Heartbeat*

Expand Down
3 changes: 3 additions & 0 deletions x-pack/filebeat/input/streaming/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,9 @@ func isRetryableError(err error) bool {
websocket.CloseInternalServerErr,
websocket.CloseTryAgainLater,
websocket.CloseServiceRestart,
websocket.CloseAbnormalClosure,
websocket.CloseMessageTooBig,
websocket.CloseNoStatusReceived,
websocket.CloseTLSHandshake:
return true
}
Expand Down

0 comments on commit ea6c30f

Please sign in to comment.