Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect warning about sharding passivation entity limit #57

Closed
johanandren opened this issue Oct 17, 2023 · 1 comment
Closed

Incorrect warning about sharding passivation entity limit #57

johanandren opened this issue Oct 17, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@johanandren
Copy link
Member

With this config in place:

akka.cluster {
  downing-provider-class = "akka.cluster.sbr.SplitBrainResolverProvider"

  shutdown-after-unsuccessful-join-seed-nodes = 120s

  sharding {
    least-shard-allocation-strategy.rebalance-absolute-limit = 20
    passivation {
      strategy = default-strategy
      default-strategy {
        active-entity-limit = 1000
        idle-entity.timeout = 3 minutes
      }
    }
  }
}

I get this warning:

[info] [2023-10-17 17:36:31,076] [WARN] [akka.diagnostics.ConfigChecker] [akka://local-drone-control@127.0.0.1:51260] [] [local-drone-control-akka.actor.default-dispatcher-15] - Configuration recommendation: akka.cluster.sharded-daemon-process.sharding.passivation.active-entity-limit is not an Akka configuration setting. Did you mean one of 'akka.cluster.sharded-daemon-process.sharding.passivation.default-strategy.active-entity-limit', 'akka.cluster.sharded-daemon-process.sharding.passivation.strategy-defaults.active-entity-limit', 'akka.cluster.sharding.passivation.default-strategy.active-entity-limit'? Is it a typo or is it placed in the wrong section? Application specific properties should be placed outside the "akka" config tree. Related config properties: [akka.cluster.sharded-daemon-process.sharding.passivation.active-entity-limit]. You may disable this check by adding [typo] to configuration string list akka.diagnostics.checker.disabled-checks.

But akka.cluster.sharding.passivation.default-strategy.active-entity-limit is exactly what is defined

@johanandren johanandren added the bug Something isn't working label Oct 17, 2023
@patriknw
Copy link
Member

It reports correctly. That sample has two such configs, one was wrong. Fixed in akka/akka-projection#1050

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants