Re: [I] Failure loading SolrCore at startup - java.util.NoSuchElementException: No key id for key ref=0 after server restart [solr-sandbox]

2025-02-12 Thread via GitHub


bruno-roustant closed issue #109: Failure loading SolrCore at startup - 
java.util.NoSuchElementException: No key id for key ref=0 after server restart
URL: https://github.com/apache/solr-sandbox/issues/109


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [I] Failure loading SolrCore at startup - java.util.NoSuchElementException: No key id for key ref=0 after server restart [solr-sandbox]

2025-02-12 Thread via GitHub


bruno-roustant commented on issue #109:
URL: https://github.com/apache/solr-sandbox/issues/109#issuecomment-2654226876

   This issue is fixed now.
   The fix is in Solr 9.8, and the encryption module now depends on 9.8. The PR 
mentioned above tests the node restart and the successful transfer of 
encryption commit metadata.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [I] Failure loading SolrCore at startup - java.util.NoSuchElementException: No key id for key ref=0 after server restart [solr-sandbox]

2024-10-18 Thread via GitHub


dsmiley commented on issue #109:
URL: https://github.com/apache/solr-sandbox/issues/109#issuecomment-2422740637

   I suppose IndexWriter.commit() is risky for index encryption... we must 
always guarantee there is commit metadata? This seems fragile; hard to 
guarantee, and with bad consequences.
   
   I did find-usages and I see two other callers, and would like your opinion:
   
   * CoreContainer.reload
   * SolrIndexSplitter.doSplit
   
   But finding all callers and adding protections, again, feels fragile.  Like 
if we do index encryption, maybe we need a stronger lower level guarantee that 
the metadata is there.  I haven't thought about this too much other than 
observing the fragility.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [I] Failure loading SolrCore at startup - java.util.NoSuchElementException: No key id for key ref=0 after server restart [solr-sandbox]

2024-10-18 Thread via GitHub


bruno-roustant commented on issue #109:
URL: https://github.com/apache/solr-sandbox/issues/109#issuecomment-2422249962

   I created a [PR](https://github.com/apache/solr-sandbox/pull/113) to show 
how to fix, with a test. But the real fix requires a change in the Solr project 
upstream. I'm going to do it quickly, but we'll have to wait for the next Solr 
release to have the proper fix available here.
   
   Currently the workaround is to commit before shutting down the server. The 
problem is with the auto-commit when the IndexWriter is closed.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [I] Failure loading SolrCore at startup - java.util.NoSuchElementException: No key id for key ref=0 after server restart [solr-sandbox]

2024-08-04 Thread via GitHub


bruno-roustant commented on issue #109:
URL: https://github.com/apache/solr-sandbox/issues/109#issuecomment-2268303529

   @danielsason112 do you commit before closing the server?
   Indeed, I may have to look at this closeWriter method to override it with 
EncryptionUpdateHandler.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]