rest-collector-plugin-with-retry #432
No reviewers
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
RDGraph
RSAC
wontfix
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: D-Net/dnet-hadoop#432
Loading…
Reference in New Issue
No description provided.
Delete Branch "rest-collector-plugin-with-retry"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I implemented a retry mechanism for the calls of the Collector REST plugin.
When a call fails, the plugin waits for some seconds and then retry.
The MAX number of retries for each call is defined as a constant (MAX_ATTEMPTS = 5), and the time of delay is automatically calculated, for example:
...
This mechanism has been implemented because the aggregation from the OSF repository never completed for the random failure of the API calls (generally the error code was 502).