Skip to content

ilogtail源码配置参数"polling_ignore_file_modify_timeout":7200的含义 #679

Answered by yyuuttaaoo
yecun123 asked this question in Help
Discussion options

You must be logged in to vote

超过这个polling_ignore_file_modify_timeout就认为是老的历史数据文件了,如果没有更新不会采集。B会采集是因为在checkpoint的中的文件会保证采完。

DEFINE_FLAG_INT32(ignore_file_modify_timeout, "if file modify time is up to XXX seconds, ignore it", 180);

// Check the LMD of file, If the file is too old (180s), it will be ignored at
// this round and wait for next round. Otherwise, a MODIFY event will be created
// and pushed to @eventVec.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@yecun123
Comment options

Answer selected by messixukejia
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants