Never-written tables do not stay published over restarts

XMLWordPrintableJSON

    • Storage Engines, Storage Engines - Foundations
    • 98.021
    • None
    • None

      1. Create table
      2. Publish the table
      3. Take a checkpoint
      4. Restart
      5. Write to table
      6. Take a checkpoint

      This produces the panic "stable data checkpointed for unpublished table". This happens because there was no data for the checkpoint to write and so it doesn't write to .wt_stable at all. On startup, the table has an empty stable checkpoint and so AWAITS_PUBLISH is set. The attached test reproduces this.

            Assignee:
            Jie Chen
            Reporter:
            Thomas Goyne
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: