Skip to content

Limit CS Update Task Description Size (#79443)#79795

Merged
original-brownbear merged 1 commit intoelastic:7.16from
original-brownbear:79443-7.16
Oct 26, 2021
Merged

Limit CS Update Task Description Size (#79443)#79795
original-brownbear merged 1 commit intoelastic:7.16from
original-brownbear:79443-7.16

Conversation

@original-brownbear
Copy link
Copy Markdown
Contributor

When working with very large clusters, there's various avenues to create very
large batches of tasks that can render as strings with O(MB) length. Since we only
use these strings for logging and there is limited value in knowing the exact task
descriptions of large numbers of tasks it seems reasonable to put a hard limit
on the logging here to prevent hard to work with logs and save some memory in extreme
cases.

backport of #79443

When working with very large clusters, there's various avenues to create very
large batches of tasks that can render as strings with O(MB) length. Since we only
use these strings for logging and there is limited value in knowing the exact task
descriptions of large numbers of tasks it seems reasonable to put a hard limit
on the logging here to prevent hard to work with logs and save some memory in extreme
cases.
@original-brownbear original-brownbear added >non-issue :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. backport labels Oct 26, 2021
@elasticmachine elasticmachine added the Team:Distributed Meta label for distributed team. label Oct 26, 2021
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@original-brownbear
Copy link
Copy Markdown
Contributor Author

Jenkins run elasticsearch-ci/part-2

@original-brownbear original-brownbear merged commit 606ab06 into elastic:7.16 Oct 26, 2021
@original-brownbear original-brownbear deleted the 79443-7.16 branch October 26, 2021 12:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport :Distributed/Cluster Coordination Cluster formation and cluster state publication, including cluster membership and fault detection. >non-issue Team:Distributed Meta label for distributed team. v7.16.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants