Browse Source
TenantActor.onPartitionChangeMsg initialized rule chains for any managed tenant whose chains were not initialized yet, ignoring the API usage state. TenantActor.init and the API_USAGE_STATE lifecycle handler both respect isReExecEnabled(), so tenants with rule-engine execution disabled by API limits had no rule chains until the first partition change, which then materialized their whole rule-chain/rule-node actor tree on every rule-engine node (and failed to start script nodes when script execution is disabled too). Apply the same isReExecEnabled() gate on the partition-change path and cover it with two TenantActorTest cases.pull/16343/head
2 changed files with 32 additions and 1 deletions
Loading…
Reference in new issue