Browse Source
A device-state attribute save can complete after its tenant was deleted. The post-save WS-update callback then resolves an evicted tenant profile via partitionService.resolve -> getRoutingInfo and throws TenantNotFoundException uncaught on the ws-callback thread. Guard resolve() in forwardToSubscriptionManagerService: a deleted tenant has no partition to route to and no subscribers to notify, so skip the forward instead of propagating. Mirrors the existing tenant-gone handling in DefaultDeviceStateService.checkStates().pull/15910/head
2 changed files with 32 additions and 1 deletions
Loading…
Reference in new issue