-
Notifications
You must be signed in to change notification settings - Fork 494
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
Create Dataset: Allow data set to be created even if not able to index. Manage index failures for later correction. #229
Comments
@scolapasta and @kcondon is this still an issue? |
Please note that I'd like to re-implement indexing with recovery from failure in mind in #702. |
Passing to QA for the part about how you should now be able to create a dataset when Solr is down (no exceptions thrown, etc.). #702 is the main ticket about keeping the database and Solr in sync once Solr is back up. |
In addition, I'd be happy to get some feed back on the new "status" option when looking at the Solr index. @esotiri and I looked a scenario where we created a dataset while Solr was down and noted that once we brought Solr back up, Solr is out of sync with the database (for both content and permissions of the newly created dataset):
Please see also remarks by @kcondon under "Admin Stale Index Notification" in a Google Doc about Solr: https://docs.google.com/a/harvard.edu/document/d/1EGXOdvudBL3xhRpFaqAq1s9Zizm1jgVXwtO9FhAQKxc/edit?usp=sharing I'm definitely willing to change how the status looks (and of course we'll build a GUI some day). @scolapasta this is the "status" I was telling you about the other day. |
Also, as @esotiri and I talked about, this individual dataset can be indexed into Solr (once it's back up) with |
solr down > add dataset or dataverse > verified: |
In the future It would be desirable to have solr detect the object that was not indexed and index it. issue resolved |
Author Name: Kevin Condon (@kcondon)
Original Redmine Issue: 3643, https://redmine.hmdc.harvard.edu/issues/3643
Original Date: 2014-03-05
Original Assignee: Gustavo Durand
Currently, if you are not able to index a dataset on save, it does not save / create a dataset and throws an index error in log.
This should ideally be separate actions: create should work as long as data passes validation and index may or may not fail but can be managed like we do in 3.x, last index time column and an index sweeper/ timer job.
The text was updated successfully, but these errors were encountered: