Skip to content
Snippets Groups Projects
  1. Oct 28, 2022
    • Ilya Verbin's avatar
      box: panic if snapshot has no system spaces during recovery · e0a9aed4
      Ilya Verbin authored
      Currently, if a snapshot contains some correct entries, but doesn't
      include system spaces, Tarantool crashes with segmentation fault, or
      for Debug build: void diag_raise(): Assertion `e != NULL' failed.
      This happens because memtx_engine_recover_snapshot returns -1, while
      diag is not set. Let's panic instead of a crash.
      
      Closes #7800
      
      NO_DOC=bugfix
      e0a9aed4
Loading