vinyl: add task accounting to global scheduler statistics
This patch adds the following new fields to box.stat.vinyl(): scheduler.tasks_inprogress - number of currently running tasks scheduler.tasks_completed - number of successfully completed tasks scheduler.tasks_failed - number of aborted tasks tasks_failed can be useful for monitoring disk write errors while tasks_inprogress and tasks_completed can shed light on worker thread pool effeciency.
Showing
- src/box/vinyl.c 3 additions, 0 deletionssrc/box/vinyl.c
- src/box/vy_scheduler.c 17 additions, 4 deletionssrc/box/vy_scheduler.c
- src/box/vy_stat.h 6 additions, 0 deletionssrc/box/vy_stat.h
- test/vinyl/errinj_stat.result 119 additions, 0 deletionstest/vinyl/errinj_stat.result
- test/vinyl/errinj_stat.test.lua 36 additions, 0 deletionstest/vinyl/errinj_stat.test.lua
- test/vinyl/stat.result 18 additions, 8 deletionstest/vinyl/stat.result
Loading
Please register or sign in to comment