Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/elastic/actions.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,9 @@ func (meta *ElasticsearchMetadata) IsAvailable() bool {

func (meta *ElasticsearchMetadata) Init(health bool) {
meta.clusterAvailable = health
if health && meta.Health == nil {
meta.Health = &ClusterHealth{Status: "green"}
}
meta.clusterFailureTicket = 0
}

Expand Down
1 change: 1 addition & 0 deletions docs/content.en/docs/release-notes/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ Information about release notes of INFINI Framework is provided here.
- Fixed `[]byte` operator when queue comsumer paic (#77)
- Fix incorrect interval configuration in index stats collection task (#80)
- Fixed reload file need use privious pos (#79)
- Fixed nil panic by init cluster health default status to green (#81)


### Improvements
Expand Down
Loading