Skip to content

Commit

Permalink
Fix map concurrent bug (elastic#2509)
Browse files Browse the repository at this point in the history
  • Loading branch information
amyangfei authored and ruflin committed Sep 13, 2016
1 parent 8d528eb commit d285594
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions CHANGELOG.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,14 @@ https://github.com/elastic/beats/compare/v1.3.0...1.3[Check the HEAD diff]

////////////////////////////////////////////////////////////
[[release-notes-1.3.1]]
=== Beats version 1.3.1
https://github.com/elastic/beats/compare/v1.3.0...v1.3.1[View commits]
*Filebeat*
- Fix a concurrent bug on filebeat startup with a large number of prospectors defined. {pull}2509[2509]
[[release-notes-1.3.0]]
=== Beats version 1.3.0
https://github.com/elastic/beats/compare/v1.2.3...v1.3.0[View commits]
Expand Down
2 changes: 1 addition & 1 deletion filebeat/crawler/crawler.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ func (crawler *Crawler) Start(files []config.ProspectorConfig, eventChan chan *i
}
continue
}
crawler.Registrar.state[event.Source] = event
crawler.Registrar.setState(event)
logp.Debug("prospector", "Registrar will re-save state for %s", event.Source)

if !crawler.running {
Expand Down

0 comments on commit d285594

Please sign in to comment.