Explorar o código

Added comment

Taichi Masuyama %!s(int64=4) %!d(string=hai) anos
pai
achega
b878eaed54
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      packages/app/src/server/service/page.js

+ 1 - 1
packages/app/src/server/service/page.js

@@ -868,7 +868,7 @@ class PageService {
 
     // skip index modification if path is unique
     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) {
         try {
           // drop pages.path_1 indexes