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
We maintain a cache of transactions in synse server to do lookups and plugin-routing for the transaction command.
If we have a cache, we should be able to easily list the transactions we currently know about. This would require some changes for it to me more usable by a user (e.g. not just a list of hashes). we already track transaction context (action/raw) in the cache, but not the r/b/d that the write was issued to. we could add that to the cache as well for a more complete view.
the issue that this introduces is that it will only show transactions that are in the cache. there are a few things that fall out of that, but the biggest of which are:
if a synse server instance goes down and comes back up, the cache is empty. there is no way to rebuild the cache because there is no support via the gRPC API to get all transactions (though we could add this)
if there are multiple synse server instances interfacing with the same plugins, it could very well be the case that the transaction caches on each are different.
These would be solved by adding something to the gRPC API to enumerate active transactions tracked by the plugin, but doing so is a bit of work (has to be plumbed through a lot of places)
The text was updated successfully, but these errors were encountered:
Description
We maintain a cache of transactions in synse server to do lookups and plugin-routing for the transaction command.
If we have a cache, we should be able to easily list the transactions we currently know about. This would require some changes for it to me more usable by a user (e.g. not just a list of hashes). we already track transaction context (action/raw) in the cache, but not the r/b/d that the write was issued to. we could add that to the cache as well for a more complete view.
the issue that this introduces is that it will only show transactions that are in the cache. there are a few things that fall out of that, but the biggest of which are:
These would be solved by adding something to the gRPC API to enumerate active transactions tracked by the plugin, but doing so is a bit of work (has to be plumbed through a lot of places)
The text was updated successfully, but these errors were encountered: