tarantool

Tarantool Error - Procedure 'vshard.storage.buckets_count' is not defined


I'm trying to initialize a router and I get this error.

 Procedure 'vshard.storage.buckets_count' is not defined

All respose: response screen shote
I also do not have buckets. What could be the problem?


Solution

  • Most likely you need to set the vshard global variable:

    _G.vshard = require('vshard')