Skip to content
This repository has been archived by the owner on Aug 2, 2022. It is now read-only.

Commit

Permalink
AlertMover actually cannot take seqNo and primaryTerm, since its inde…
Browse files Browse the repository at this point in the history
…xing a new document these values need to be 0, but since the document exists in the active alerts index seqNo and primaryTerm have already been set to a value greater than 0.
  • Loading branch information
lucaswin-amzn committed May 10, 2019
1 parent ab0933e commit 3bfad7a
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ class AlertMover(
val activeAlertsQuery = SearchSourceBuilder.searchSource()
.query(boolQuery)
.version(true)
.seqNoAndPrimaryTerm(true)

val activeAlertsRequest = SearchRequest(AlertIndices.ALERT_INDEX)
.routing(monitorId)
Expand Down

0 comments on commit 3bfad7a

Please sign in to comment.