Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filebeat: Fast filecheck #8627

Closed
wants to merge 6 commits into from
Closed

Conversation

ttapjinda
Copy link

#5556

  • Add ticker for file's status check and use check_status_interval to control the file status checking interval.

@elasticmachine
Copy link
Collaborator

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

buf := make([]byte, 10)

i := 0
var receivedError error = nil

Choose a reason for hiding this comment

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

should drop = nil from declaration of var receivedError; it is the zero value

buf := make([]byte, 10)

i := 0
var receivedError error = nil

Choose a reason for hiding this comment

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

should drop = nil from declaration of var receivedError; it is the zero value

@@ -51,16 +52,30 @@ func NewLog(
}
}

var checkTicker *time.Ticker = nil

Choose a reason for hiding this comment

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

should drop = nil from declaration of var checkTicker; it is the zero value

@@ -1,4 +1,4 @@
// Licensed to Elasticsearch B.V. under one or more contributor
receivedError// Licensed to Elasticsearch B.V. under one or more contributor

Choose a reason for hiding this comment

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

expected 'package', found 'IDENT' receivedError (and 1 more errors)

@jsoriano
Copy link
Member

#5556 should be fixed after #13907, that is already included in some released versions.

I am closing this by now, please reopen if it would address some other issue.

Thanks!

@jsoriano jsoriano closed this Dec 20, 2019
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.

4 participants