Closed RawthiL closed 4 months ago
There is a race condition on how the manager updates the node data if there are multiple managers. I will use this issue to update that as well. The following will be done:
nodes
collection.signature-tasks
and numerical-tasks
_id
This way we can operate on single tasks ans avoid race conditions when updating the node data. Node data will serve only as an aggregator of general data, like address, service and last seen.
Also this change will make pruninng easier as we can implement TTL on records of these tasks and remove code used to mantain that!
I will add https://github.com/pokt-scan/pocket-ml-testbench/issues/41 in the same PR, we need to close this as fast as possible
Some tasks need to be run at most once per session (like [signature][tokenizer]). Support for this kind of checks needs to be added.