forget_follower.asciidoc 1.6 KB

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