Skip to content

vinyl: assertion fault in vy_scheduler_peek_dump() #4821

@Korablev77

Description

@Korablev77

Following script containing error injections results in assertion fault (it is reproduced both on 1.10 and master branches):

box.cfg{}
errinj = box.error.injection
fiber = require('fiber')

s = box.schema.space.create('test', {engine = 'vinyl'})
_ = s:create_index('pk')

errinj.set('ERRINJ_VY_RUN_WRITE', true)
s:replace{2}
box.snapshot()
errinj.set('ERRINJ_VY_RUN_WRITE', false)
s:drop()

s = box.schema.space.create('test', {engine = 'vinyl'})
i = s:create_index('pk')
s:replace{1}

errinj.set('ERRINJ_VY_RUN_WRITE_DELAY', true)
box.snapshot()
errinj.set('ERRINJ_VY_RUN_WRITE_DELAY', false)

tarantool/src/box/vy_scheduler.c:1913: vy_scheduler_peek_dump: Assertion `scheduler->dump_task_count > 0' failed.
Aborted (core dumped)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions