summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/src/schema/schema_drop.c
diff options
context:
space:
mode:
authorLuke Chen <luke.chen@mongodb.com>2022-12-19 09:01:37 +1100
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-12-18 22:47:19 +0000
commit782c15086f3277c853b987be49e095c9ca15d17b (patch)
tree727755bbcd368fe4d7475893f808580da75a43fc /src/third_party/wiredtiger/src/schema/schema_drop.c
parent38c5aab661a2c2e55c8ddcb6674df1ec0d2c4c62 (diff)
downloadmongo-782c15086f3277c853b987be49e095c9ca15d17b.tar.gz
Import wiredtiger: c83ae3e1e8d44f45831aa89ab1b9bd58e1407f86 from branch mongodb-master
ref: f2e8e83ae1..c83ae3e1e8 for: 6.3.0-rc0 WT-10112 Tiered structure fixes to properly initialize tiers.
Diffstat (limited to 'src/third_party/wiredtiger/src/schema/schema_drop.c')
-rw-r--r--src/third_party/wiredtiger/src/schema/schema_drop.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/third_party/wiredtiger/src/schema/schema_drop.c b/src/third_party/wiredtiger/src/schema/schema_drop.c
index c3f1348fd3e..0908047680b 100644
--- a/src/third_party/wiredtiger/src/schema/schema_drop.c
+++ b/src/third_party/wiredtiger/src/schema/schema_drop.c
@@ -237,15 +237,8 @@ __drop_tiered(WT_SESSION_IMPL *session, const char *uri, bool force, const char
WT_ERR(__wt_metadata_remove(session, tier->name));
tiered->tiers[WT_TIERED_INDEX_SHARED].tier = NULL;
} else
- /*
- * If we don't have a shared tier we better be on the first object.
- *
- * FIXME-WT-10112: This assertion fails on every run of test_base04 and should be re-added
- * once the root cause is fixed.
- *
- * WT_ASSERT(session, localid == 1);
- */
- WT_UNUSED(localid);
+ /* If we don't have a shared tier we better be on the first object. */
+ WT_ASSERT(session, localid == 1);
/*
* We remove all metadata entries for both the file and object versions of an object. The local