snapshot: review fixes
- add forgotten latch.h, fix latch.h header guards - make sure the stuff in thread is thread-safe and exception-safe - remove snapshot_pid and update the docs. - remove empty lines/trailing spaces - move xlog_open()/xlog_close() to the snapshot thread - use cord_costart() to have fiber infrastructure in the checkpoint thread, rather than run checkpoint in sched fiber - remove #include <fiber.h> from memtx_engine.h, it's not needed there - remove errNo() method from base class Exception, anything with an error no inherits from SystemError. Moreover, now that we have a rich exception infrastructure at our disposal, we should switch to using it in engine API, so in future returning error no will be replaced with exceptions.
Showing
- doc/sphinx/book/box/box_introspection.rst 0 additions, 5 deletionsdoc/sphinx/book/box/box_introspection.rst
- src/box/alter.cc 0 additions, 2 deletionssrc/box/alter.cc
- src/box/alter.h 1 addition, 1 deletionsrc/box/alter.h
- src/box/box.cc 0 additions, 1 deletionsrc/box/box.cc
- src/box/box.h 0 additions, 6 deletionssrc/box/box.h
- src/box/engine.cc 0 additions, 1 deletionsrc/box/engine.cc
- src/box/errcode.h 0 additions, 1 deletionsrc/box/errcode.h
- src/box/index.cc 4 additions, 4 deletionssrc/box/index.cc
- src/box/index.h 2 additions, 2 deletionssrc/box/index.h
- src/box/lua/info.cc 0 additions, 8 deletionssrc/box/lua/info.cc
- src/box/memtx_engine.cc 77 additions, 87 deletionssrc/box/memtx_engine.cc
- src/box/memtx_engine.h 1 addition, 4 deletionssrc/box/memtx_engine.h
- src/box/xlog.cc 1 addition, 0 deletionssrc/box/xlog.cc
- src/exception.h 0 additions, 2 deletionssrc/exception.h
- src/latch.h 157 additions, 0 deletionssrc/latch.h
- test/box/admin.result 1 addition, 1 deletiontest/box/admin.result
- test/box/admin.test.lua 1 addition, 1 deletiontest/box/admin.test.lua
- test/box/info.result 0 additions, 5 deletionstest/box/info.result
- test/box/info.test.lua 0 additions, 1 deletiontest/box/info.test.lua
Loading
Please register or sign in to comment