Skip to content

Retry follow task when remote connection queue full#56073

Merged
dnhatn merged 3 commits intoelastic:6.8from
dnhatn:68-ccr-backport
May 2, 2020
Merged

Retry follow task when remote connection queue full#56073
dnhatn merged 3 commits intoelastic:6.8from
dnhatn:68-ccr-backport

Conversation

@dnhatn
Copy link
Copy Markdown
Member

@dnhatn dnhatn commented May 1, 2020

If more than 100 shard-follow tasks are trying to connect to the remote
cluster, then some of them will abort with "connect listener queue is
full". This is because we retry on ESRejectedExecutionException, but not
on RejectedExecutionException.

Backport of #55314

If more than 100 shard-follow tasks are trying to connect to the remote
cluster, then some of them will abort with "connect listener queue is
full". This is because we retry on ESRejectedExecutionException, but not
on RejectedExecutionException.
@dnhatn dnhatn added the backport label May 1, 2020
@dnhatn dnhatn merged commit be2c7bf into elastic:6.8 May 2, 2020
@dnhatn dnhatn deleted the 68-ccr-backport branch May 2, 2020 00:29
dnhatn added a commit that referenced this pull request Jul 8, 2020
…59036)

The backport in #56073 was supposed to change the max pending listeners 
to 1000 and throw ESRejectedExecutionException instead of
RejectedExecutionException when reaching that limit. However, it missed
the latter.

Closes #53225
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant