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) (#42228)
  • Loading branch information
mergify[bot] authored Jan 7, 2025
1 parent b8eee43 commit a348e02
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 @@ -195,6 +195,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]
- The `_id` generation process for S3 events has been updated to incorporate the LastModified field. This enhancement ensures that the `_id` is unique. {pull}42078[42078]
- 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 a348e02

Please sign in to comment.