-
-
Notifications
You must be signed in to change notification settings - Fork 258
[FEATURE] Feature flag to skip RecordMonitor and GarbageCollection #4108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
dkd-kaehm
pushed a commit
to kitzberger/ext-solr
that referenced
this issue
Jul 17, 2024
Currently the 2 hooks of EXT:solr into DataHandler are fired for all sites, their pages and records. This is time consuming. Especially the RecordMonitor is taking up to 10s to do its thing. Both GarbageCollector and RecordMonitor should skip their processDatamap_afterDatabaseOperations method, to avoid unneccessery processing for sites. Fixes: TYPO3-Solr#4108
dkd-kaehm
pushed a commit
to kitzberger/ext-solr
that referenced
this issue
Jul 17, 2024
Currently the 2 hooks of EXT:solr into DataHandler are fired for all sites, their pages and records. This is time consuming. Especially the RecordMonitor is taking up to 10s to do its thing. Both GarbageCollector and RecordMonitor should skip their processDatamap_afterDatabaseOperations method, to avoid unneccessery processing for sites. Fixes: TYPO3-Solr#4108
dkd-kaehm
pushed a commit
to kitzberger/ext-solr
that referenced
this issue
Aug 26, 2024
Currently the 2 hooks of EXT:solr into DataHandler are fired for all sites, their pages and records. This is time consuming. Especially the RecordMonitor is taking up to 10s to do its thing. Both GarbageCollector and RecordMonitor should skip their processDatamap_afterDatabaseOperations method, to avoid unneccessery processing for sites. Fixes: TYPO3-Solr#4108
dkd-kaehm
pushed a commit
to kitzberger/ext-solr
that referenced
this issue
Nov 25, 2024
Currently the 2 hooks of EXT:solr into DataHandler are fired for all sites, their pages and records. This is time consuming. Especially the RecordMonitor is taking up to 10s to do its thing. Both GarbageCollector and RecordMonitor should skip their processDatamap_afterDatabaseOperations method, to avoid unneccessery processing for sites. Fixes: TYPO3-Solr#4108
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Problem
Currently the 2 hooks of EXT:solr into DataHandler are fired for all sites, their pages and records. This is time consuming. Especially the RecordMonitor is taking up to 10s to do its thing.
Side note: recursively changing the permissions (owner, group, bit-mask) of a page tree via "Access" module is the mother of all killer operations and often runs into memory allocation problems:
But that seems to be a whole different problem, I believe.
Solution
For sites that don't use solr, it'll be great to have them skip the DataHandler hooks completely.
Target versions
EXT:solr 12.x
The text was updated successfully, but these errors were encountered: