-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Limit index creation rate #20760
Copy link
Copy link
Closed
Labels
:Distributed/DistributedA catch all label for anything in the Distributed Area. Please avoid if you can.A catch all label for anything in the Distributed Area. Please avoid if you can.>enhancementTeam:DistributedMeta label for distributed team.Meta label for distributed team.help wantedadoptmeadoptmeteam-discuss
Description
5.0 introduces a per-node limit on the rate of inline script compilations that should help catch the anti-pattern of embedding script parameters in the scripts themselves. I wonder if it is worth adding a master-only limit on the rate of indexes created to catch situations where people accidentally misconfigure an input system and it ends up creating thousands of indexes in quick succession. Such a rate limit would cause indexing to fail with a useful error message, causing back pressure in any queueing system. I think this'd be better than just creating thousands of indexes as fast as we can.
Is this a good idea or a horrible idea?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
:Distributed/DistributedA catch all label for anything in the Distributed Area. Please avoid if you can.A catch all label for anything in the Distributed Area. Please avoid if you can.>enhancementTeam:DistributedMeta label for distributed team.Meta label for distributed team.help wantedadoptmeadoptmeteam-discuss
Type
Fields
Give feedbackNo fields configured for issues without a type.