Skip to content

Conversation

@arzonus
Copy link
Contributor

@arzonus arzonus commented Dec 15, 2025

What changed?

  • shardDistributor.maxEphemeralShards dynamic property is introduced with a default value of 8192
  • EphemeralShardLimitExceededError error was introduced
  • GetShardOwner will return EphemeralShardLimitExceededError error in case if a number of current shards is more than total number of assigned shards per namespace.

Why?

  • We observed a server instability in the case of non-stoppable calling of GetShardOwner method, where an ephemeral shard are being created. This PR adds protection for the server's health, denies requests creating more shards than allowed.

How did you test it?

  • Unit test
  • Run on dev test

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant