forget_follower.asciidoc 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. --
  2. :api: ccr-forget-follower
  3. :request: ForgetFollowerRequest
  4. :response: BroadcastResponse
  5. --
  6. [id="{upid}-{api}"]
  7. === Forget Follower API
  8. [id="{upid}-{api}-request"]
  9. ==== Request
  10. The Forget Follower API allows you to manually remove the follower retention
  11. leases from the leader. Note that these retention leases are automatically
  12. managed by the following index. This API exists only for cases when invoking
  13. the unfollow API on the follower index is unable to remove the follower
  14. retention leases.
  15. ["source","java",subs="attributes,callouts,macros"]
  16. --------------------------------------------------
  17. include-tagged::{doc-tests-file}[{api}-request]
  18. --------------------------------------------------
  19. <1> The name of the cluster containing the follower index.
  20. <2> The name of the follower index.
  21. <3> The UUID of the follower index (can be obtained from index stats).
  22. <4> The alias of the remote cluster containing the leader index.
  23. <5> The name of the leader index.
  24. [id="{upid}-{api}-response"]
  25. ==== Response
  26. The returned +{response}+ indicates if the response was successful.
  27. ["source","java",subs="attributes,callouts,macros"]
  28. --------------------------------------------------
  29. include-tagged::{doc-tests-file}[{api}-response]
  30. --------------------------------------------------
  31. <1> The high-level shards summary.
  32. <2> The total number of shards the request was executed on.
  33. <3> The total number of shards the request was successful on.
  34. <4> The total number of shards the request was skipped on (should always be zero).
  35. <5> The total number of shards the request failed on.
  36. <6> The shard-level failures.
  37. include::../execution.asciidoc[]