[MINDEXER-166] Add UrlResource with retry logic?
- Dominant language
- Java
- Stars
- 74
- Forks
- 69
- Avg merge
- 14h 8m
- Merged PRs (30d)
- 6
Description
**[Stephen Buergler](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=sixcorners)** opened **[MINDEXER-166](https://issues.apache.org/jira/browse/MINDEXER-166?redirect=false)** and commented
If the connection breaks in the middle of downloading the index or an update to the index it would be nice if the connection could just be retried. Currently it seems like the way to handle it is to revert the changes made while processing what i have so far or replay everything from the beginning or just replay things if I don't care about getting every change.
Going to make a pull request with what I use but it's not exactly fit to be merged as is.
---
**Remote Links:**
- [GitHub Pull Request #232
](https://github.com/apache/maven-indexer/pull/232)
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with the MINDEXER-166 description and the proposed UrlResource work, then review the linked pull request #232 to understand the existing approach. Check how interrupted index downloads or updates are currently handled. Done should provide retry behavior for broken connections without requiring a full replay or manual rollback.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- networking
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 20/100