Skip to content

Seperated search indexing from database installation#67

Merged
micszo merged 1 commit intomainfrom
split-indexing
Dec 9, 2022
Merged

Seperated search indexing from database installation#67
micszo merged 1 commit intomainfrom
split-indexing

Conversation

@mnocon
Copy link
Copy Markdown
Contributor

@mnocon mnocon commented Dec 9, 2022

Needed for https://github.com/ibexa/visual-testing/pull/2 and tested there

For some reason the setup steps fails with:

  152/152 [============================] 100%
In App_KernelBehatDebugContainer.php line 3272:
                                                                               
  Warning: require(/var/www/var/cache/behat/ContainerBXxHz3B/getSwiftmailer_E  
  mailSender_ListenerService.php): failed to open stream: No such file or dir  
  ectory                                                                       
                                                                               

ibexa:install [--skip-indexing] [--siteaccess [SITEACCESS]] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi|--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] [<type>]

(https://github.com/ibexa/visual-testing/actions/runs/3649183970/jobs/6164540855)

Which seems strange, because the file is for sure there - I think we're hitting the system limit of opened files and that's why it fails (not 100% sure TBH 🤔 )

Splitting the installation process into 2 steps: "pure DB install" and indexing helps with the issue, tested in:
https://github.com/ibexa/visual-testing/pull/2

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Dec 9, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@micszo micszo merged commit ed15eaa into main Dec 9, 2022
@micszo micszo deleted the split-indexing branch December 9, 2022 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants