medic / cht-user-management

GNU Affero General Public License v3.0
3 stars 1 forks source link

Move Contact: Improve Error Handling and Retry Logic for Interrupted/Failed #184

Open paulpascal opened 1 week ago

paulpascal commented 1 week ago

Description

Enhance the error handling and retry logic for the move contact feature to ensure robustness in cases of connectivity loss or other interruptions.

Background

During heavy move operations, it is common to encounter connectivity issues which can interrupt the cht-conf process. Currently, if a contact move job fails due to lost connectivity, the job needs to be manually retried from the board. While cht-conf can aggregate documents and retry the move, cht-user-management does not allow retrying an aborted job if the top-level contact has already been moved.

References