stable

Clone or download

Read-only

Bypass changeset comment permissions when doing a "full indexing"

Checking if a changeset comment is associated to some ugroups is not useful when indexing all the changeset comments on the instance and it hurts performance a bit since there is no caching layers. This contribution reduces the number of SQL queries when indexing the whole instance for both the `fts_db` and `fts_meilisearch` plugins. Part of story #28835: have a full-text search backend based on Meilisearch Change-Id: Ic448d52c47b7d02d3a8121c769010e47db3fa17e

Modified Files

Name
M plugins/gitlab/include/gitlabPlugin.php +2 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationCreationProcessorBuilder.php +1 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/IterationUpdateProcessorBuilder.php +1 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementCreationProcessorBuilder.php +1 −0 Go to diff View file
M plugins/program_management/include/Adapter/Program/Backlog/AsynchronousCreation/ProgramIncrementUpdateProcessorBuilder.php +1 −0 Go to diff View file
M plugins/program_management/include/program_managementPlugin.php +1 −0 Go to diff View file
M plugins/taskboard/include/REST/v1/Card/CardPatcher.php +1 −0 Go to diff View file
M plugins/taskboard/include/REST/v1/Cell/CardMappedFieldUpdater.php +1 −0 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/CampaignsResource.class.php +1 −0 Go to diff View file
M plugins/testmanagement/include/TestManagement/REST/v1/ExecutionsResource.class.php +1 −0 Go to diff View file
M plugins/tracker/include/REST/v1/ArtifactsResource.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Artifact.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/ArtifactsDeletion/ArchiveAndDeleteArtifactTaskBuilder.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Changeset/Comment/ChangesetCommentIndexer.php +6 −4 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/Tracker_Artifact_Changeset.class.php +6 −1 Go to diff View file
M plugins/tracker/include/Tracker/Artifact/XMLImportBuilder.class.php +1 −0 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +1 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.php +2 −0 Go to diff View file
M plugins/tracker/tests/unit/Artifact/Changeset/Comment/ChangesetCommentIndexerTest.php +12 −11 Go to diff View file