1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
|
space = box.schema.space.create('test')
---
...
index = box.space.test:create_index('primary')
---
...
box.space.test:insert{1, 'first tuple'}
---
- [1, 'first tuple']
...
box.space.test:insert{2, 'second tuple'}
---
- [2, 'second tuple']
...
box.space.test:insert{3, 'third tuple'}
---
- [3, 'third tuple']
...
box.space.test:insert{4, 'fourth tuple'}
---
- [4, 'fourth tuple']
...
check log line for 'ignoring a gap in LSN'
'ignoring a gap in LSN' exists in server log
box.space.test:select{}
---
- - [1, 'first tuple']
- [2, 'second tuple']
- [4, 'fourth tuple']
...
|