There are various cluster state updates in LicenseService triggered by MasterNodeRequest derivatives. MasterNodeRequest#masterNodeTimeout usually defines the timeout for cluster state update tasks, and this field is mostly populated correctly at the REST layer but it is not passed to the master service so these tasks never time out and will sit in the pending task queue until eventually processed. That can be confusing to clients which hit a client-side timeout before the task completes, since these clients may see their requests taking effect hours (days?) later even after receiving an error response.
There are various cluster state updates in
LicenseService
triggered byMasterNodeRequest
derivatives.MasterNodeRequest#masterNodeTimeout
usually defines the timeout for cluster state update tasks, and this field is mostly populated correctly at the REST layer but it is not passed to the master service so these tasks never time out and will sit in the pending task queue until eventually processed. That can be confusing to clients which hit a client-side timeout before the task completes, since these clients may see their requests taking effect hours (days?) later even after receiving an error response.