tarantool / vshard

The new generation of sharding based on virtual buckets
Other
100 stars 30 forks source link

attempt to index field 'this_replicaset' (a nil value) #286

Closed olegrok closed 2 years ago

olegrok commented 3 years ago

vshard 0.1.17

I had following error:

{"class_name":"funcall_error","err":"...jects\/tdg\/.rocks\/share\/tarantool\/vshard\/storage\/init.lua:889: attempt to index field 'this_replicaset' (a nil value)","stack":"stack traceback:\n\t...jects\/tdg\/.rocks\/share\/tarantool\/vshard\/storage\/init.lua:973: in function 'bucket_ref'\n\t...jects\/tdg\/.rocks\/share\/tarantool\/vshard\/storage\/init.lua:2405: in function <...jects\/tdg\/.rocks\/share\/tarantool\/vshard\/storage\/init.lua:2404>\n\t[C]: in function 'xpcall'\n\t...s\/o.babin\/Projects\/tdg\/.rocks\/share\/tarantool\/errors.lua:145: in function <...s\/o.babin\/Projects\/tdg\/.rocks\/share\/tarantool\/errors.lua:139>\n\t[C]: at 0x01091b3940","str":"funcall_error: ...jects\/tdg\/.rocks\/share\/tarantool\/vshard\/storage\/init.lua:889: attempt to index field 'this_replicaset' (a nil value)"}

Probably it's related to replication conflict that I also got. Complete log: test.log (it's Cartridge application that uses vshard). It happened in my tests only once (test checks that Cartridge failover correctly works).

Gerold103 commented 2 years ago

I think the reason is the same as in #123. Will be fixed together with it probably.