|
@@ -868,7 +868,7 @@ class PageService {
|
|
|
|
|
|
|
|
// skip index modification if path is unique
|
|
// skip index modification if path is unique
|
|
|
if (pathIndexStatus == null || pathIndexStatus === true) {
|
|
if (pathIndexStatus == null || pathIndexStatus === true) {
|
|
|
- // drop only when true
|
|
|
|
|
|
|
+ // drop only when true. this condition is for in case createIndex failed but dropIndex succeeded before
|
|
|
if (pathIndexStatus) {
|
|
if (pathIndexStatus) {
|
|
|
try {
|
|
try {
|
|
|
// drop pages.path_1 indexes
|
|
// drop pages.path_1 indexes
|