c9f72a0116
The shard follow task cleaner executes on behalf of the user to clean up a shard follow task after the follower index has been deleted. Otherwise, these persistent tasks are left laying around, and they fail to execute because the follower index has been deleted. In the face of security, attempts to complete these persistent tasks would fail. This is because these cleanups are executed under the system context (this makes sense, they are happening on behalf of the user after the user has executed an action) but the system role was never granted the permission for persistent task completion. This commit addresses this by adding this cluster privilege to the system role. |
||
---|---|---|
.. | ||
src/test/java/org/elasticsearch/xpack/ccr | ||
build.gradle | ||
follower-roles.yml | ||
leader-roles.yml |