Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-14151

Add an assert in connection_mananger.cpp::create that we're not clobbering an existing database

    • Storage Engines
    • 3
    • StorEng - Defined Pipeline

      connection_manager::create() calls testutil_recreate_dir which will silently delete any existing database with the same home path.

      We should add an assertion that this isn't allowed, and require developers to explicitly remove old databases (perhaps via a new recreate() function) before creating a new one.

            Assignee:
            backlog-server-storage-engines [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            andrew.morton@mongodb.com Andrew Morton
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: