You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The mirror node has recently added logic to reject subscription to topics that don't exist with NOT_FOUND. The intent is the server shouldn't poll repeatedly for a topic that may never get created and hold open resources, it's more scalable for the client to do so. This is more inline with how get record and receipts function as well within the SDK. It's controlled by a feature flag, but we'd like to roll it out soon if possible as we had a situation in testnet with a large number of subscriptions to invalid topics exhausting resources. We also now return UNAVAILABLE in case the DB is down (and maybe other scenarios in the future).
We'd like the SDK to retry NOT_FOUND and UNAVAILABLE gRPC status codes with some backoff on initial connect to ensure clients have a smooth experience and the server doesn't get overwhelmed with requests. It would also probably be good to retry if the client can't connect at all.
Note the above is only for initial connect as retry UNAVAILABLE or disconnected channel would require more complex state tracking and re-subscribe with an updated ConsensusTopicQuery to reflect that state. We can possibly consider that for a future enhancement.
The text was updated successfully, but these errors were encountered:
The mirror node has recently added logic to reject subscription to topics that don't exist with NOT_FOUND. The intent is the server shouldn't poll repeatedly for a topic that may never get created and hold open resources, it's more scalable for the client to do so. This is more inline with how get record and receipts function as well within the SDK. It's controlled by a feature flag, but we'd like to roll it out soon if possible as we had a situation in testnet with a large number of subscriptions to invalid topics exhausting resources. We also now return UNAVAILABLE in case the DB is down (and maybe other scenarios in the future).
We'd like the SDK to retry NOT_FOUND and UNAVAILABLE gRPC status codes with some backoff on initial connect to ensure clients have a smooth experience and the server doesn't get overwhelmed with requests. It would also probably be good to retry if the client can't connect at all.
Note the above is only for initial connect as retry UNAVAILABLE or disconnected channel would require more complex state tracking and re-subscribe with an updated
ConsensusTopicQuery
to reflect that state. We can possibly consider that for a future enhancement.The text was updated successfully, but these errors were encountered: