Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a CANCEL command #17

Open
nmassey001 opened this issue Feb 1, 2022 · 2 comments
Open

Add a CANCEL command #17

nmassey001 opened this issue Feb 1, 2022 · 2 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@nmassey001
Copy link
Contributor

To allow the user to CANCEL any transfers (PUT or GET or DELETE).
How would this percolate through the system?

I think this is probably quite difficult but I am asked quite often by users to cancel JDMA transfers, usually when they don't have enough space at the target directory.

@jackleland
Copy link
Contributor

Oooh interesting, I think this is doable before the transfer takes place via some logic in the nlds_worker, but once the transfer has started it might be more difficult. There's probably some kind of interrupt functionality for a given rabbit consumer but I'll need to have a looksie.

We could also have the transfer worker periodically check some "cancelled-jobs" database to check that the current transaction_id is still good to go, but this seems cumbersome...

@nmassey001
Copy link
Contributor Author

Can we do this with interrupts? Or a cancel queue that the consumers check every time they go round the loop? (This would be expensive if lots of cancel messages in the queue)

@jackleland jackleland added enhancement New feature or request question Further information is requested labels Jul 20, 2023
@nmassey001 nmassey001 moved this to V1.1 Backlog in NLDS Project Board Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
Status: V1.1 Backlog
Development

No branches or pull requests

2 participants