File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -755,7 +755,11 @@ export async function bundleDb(
755755 if ( fs . existsSync ( databaseBundlePath ) ) {
756756 await fs . promises . rm ( databaseBundlePath , { force : true } ) ;
757757 }
758- // Copy the base database OIDs file into the database location if it exists
758+ // When overlay is enabled, the base database OIDs file is included at the
759+ // root of the database cluster. However when we bundle a database, we only
760+ // include the per-language database. So, to ensure the base database OIDs
761+ // file is included in the database bundle, we copy it from the cluster into
762+ // the individual database location before bundling.
759763 const baseDatabaseOidsFilePath = getBaseDatabaseOidsFilePath ( config ) ;
760764 const additionalFiles : string [ ] = [ ] ;
761765 if ( fs . existsSync ( baseDatabaseOidsFilePath ) ) {
You can’t perform that action at this time.
0 commit comments