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
{{ message }}
This repository was archived by the owner on Jul 28, 2018. It is now read-only.
Which mean we actually don't need to pass by a zdb server instance at all. The current implementation also disallow to use a remote zdb since the zdb server instance has only a notion of port and not of address. So it is silently suppsed tha zdb is running locally.
So to fix this, I'll change bcdb module to requires a zdb client.
Currently the bcdb module relies on the existence of a zdb server instance to work:
recordchain/JumpScale9RecordChain/data/bcdb/BCDBFactory.py
Lines 20 to 27 in 5f8f159
Then in the bcdb code, the zdb server instance is used to get a client to zdb:
recordchain/JumpScale9RecordChain/data/bcdb/BCDBTable.py
Line 35 in 5f8f159
Which mean we actually don't need to pass by a zdb server instance at all. The current implementation also disallow to use a remote zdb since the zdb server instance has only a notion of port and not of address. So it is silently suppsed tha zdb is running locally.
So to fix this, I'll change bcdb module to requires a zdb client.