mbien opened a new pull request, #5655:
URL: https://github.com/apache/netbeans/pull/5655

    - indexing will disable itself if the index failed to extract due to no 
space left on the device (temp or cache) and notify the user. Once #5646 is 
merged we could switch this to disable only the remote indexing and keep local 
indexing active
    - take cause and suppressed exceptions into account while scanning for "no 
space" messages in the exception
    - added a fallback to clean up remaining files on exception, this doesn't 
handle the gz itself since this isn't under our control (yet #4999 would help 
there)
    - simplified the code a bit
   
   
![low-storage-index-error](https://user-images.githubusercontent.com/114367/224520852-f6990d91-53b0-4907-845d-a6279edc5ba0.png)
   
   (note: the numbers on the screenshot make no sense since I tested while 
using different paths to ram disks to simulate low storage, in reality one of 
the two would be very low)
   
   regarding cancelling: It can happen that while the download or extraction is 
in progress other threads queue their queries and block on the mutex. When a 
user cancels the process it will simply restart until the "queue" is empty - 
this isn't solved by this PR.


-- 
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]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to