box.schema.space.bless is not called when recovering from snapshot

Bug #1229709 reported by Roman Tsisyk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tarantool
New
Undecided
Kostja Osipov

Bug Description

1. Create a space

localhost> space = box.schema.create_space('tweedledum', { id = 0 })
---
...
localhost> space:create_index('primary', 'hash', { parts = { 0, 'num' }})
---
...
localhost> box.space[0].index[0].iterator
---
- 'function: 0x409c9940'
...

2. Restart Tarantool to recovery from xlogs

localhost> box.space[0].index[0].iterator
failed to send admin query
reconnected
---
- 'function: 0x41601f20' <!-- Works properly
...

3. Save a snapshot
localhost> box.snapshot()
---
- ok
...

4. Restart Tarantool to recovery from the snapshot
localhost> box.space[0].index[0].iterator
failed to send admin query
reconnected
---
- null <!-- Metatable is not set
...

Roman Tsisyk (rtsisyk)
Changed in tarantool:
milestone: none → 1.6.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.