-
Notifications
You must be signed in to change notification settings - Fork 36
Rollover AD result index less frequently #168
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -88,7 +88,7 @@ private AnomalyDetectorSettings() {} | |
// Suppose generally per cluster has 200 detectors and all run with 1 minute interval. | ||
// We will get 288,000 AD result docs. So set it as 300k to avoid multiple roll overs | ||
// per day. | ||
300 * 1000L, | ||
9_000_000L, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this a problem for 200 detectors? From the comment 300k is taking care of 288k limit to avoid multiple roll overs right? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it is not a problem for 200 detectors. It is a problem of small shard. Please see my PR descriptions. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Right i get that. Comment is misleading here. Why not mention the message in PR description as comment? We are talking about 200 detectors and roll overs in the comment. Atleast mention the PR? One more thing you might want to confirm is does having larger index impact performance when compared to previous smaller index? |
||
0L, | ||
Setting.Property.NodeScope, | ||
Setting.Property.Dynamic | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor. comments are outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated