[TikiWiki-commits] [Git][tikiwiki/tiki][29.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 | <69e72c759ba53_3816b78ac11375@gitlab-sidekiq-low-urgency-cpu-bound-v2-55bc4579f-rrj9c.mail> |
Victor Emanouilov pushed to branch 29.x at Tiki Wiki CMS Groupware / Tiki
Commits:
a9b998d2 by Victor Emanouilov at 2026-04-21T10:51:07+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
=====================================
@@ -398,12 +398,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/a9b998d261a4ed9ef7a731c54c4a213e5eac512d
--
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/a9b998d261a4ed9ef7a731c54c4a213e5eac512d
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