liaodn opened a new issue, #226:
URL: https://github.com/apache/bifromq/issues/226
In the local non shared subscription path, when a local route exists but the
corresponding session is missing or not an `IMQTTTransientSession`,
`LocalDistService.dist` does not write a result entry for that `MatchInfo`.
This causes upstream `BatchDeliveryCall` to log repeated `No deliver result`
warnings.
Expected behavior is to return `NO_RECEIVER` and always include a result
entry.
Example log:
```
2026-02-04 22:23:14.338 WARN ... BatchDeliveryCall
[BatchDeliveryCall.java:137] No deliver result: tenantId=tffffffff,
route=matcher {
filterLevel: "#"
mqttTopicFilter: "#"
}
receiverId: "1000061147400331990937"
incarnation: 1147400331990937
, batcherKey=DelivererKey[subBrokerId=0,
delivererKey=cb3564ba-7c07-4e92-bfcb-8c5839ee9a01/1672626574:tffffffff:2]
```
### **Reproducible Steps**
1. Start a single node BifroMQ without any custom plugins
2. Create a local non shared subscription route, for example subscribe to
`#`
3. Disconnect the corresponding client session so the session is missing or
not an `IMQTTTransientSession`
4. Publish a message that matches the route
5. Observe repeated `No deliver result` warnings in logs
**Root cause**
In the local route branch of `LocalDistService` where missing or non
transient sessions do not generate a result entry.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]