[TikiWiki-commits] [Git][tikiwiki/tiki][30.x] [FIX] Manticore: flush buffered queries before final optimization stage -...

"Victor Emanouilov \(@kroky\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <69e72c6ab87d4_3818ec28111f0@gitlab-sidekiq-low-urgency-cpu-bound-v2-55bc4579f-rrj9c.mail>

Victor Emanouilov pushed to branch 30.x at Tiki Wiki CMS Groupware / Tiki


Commits:
4aa43da2 by Victor Emanouilov at 2026-04-21T10:51:01+03:00
[FIX] Manticore: flush buffered queries before final optimization stage - prevents arbitrary queries getting lost or executed on the wrong index after rebuild which resulted in duplicate object_type/object_id items in the index

- - - - -


1 changed file:

- lib/core/Search/Manticore/Index.php


Changes:

=====================================
lib/core/Search/Manticore/Index.php
=====================================
@@ -400,12 +400,12 @@ class Index implements \Search_Index_Interface, \Search_Index_QueryRepository
 
     public function optimize()
     {
+        $this->pdo_client->flush();
         $this->pdo_client->optimize($this->index);
     }
 
     public function endUpdate()
     {
-        $this->pdo_client->flush();
         $this->optimize();
     }
 



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4aa43da26fdf1607f5a70c1fcbea5aac8af7533a

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/4aa43da26fdf1607f5a70c1fcbea5aac8af7533a
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.