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

What happens the S3 cache is wiped? #27

Open
Foxcapades opened this issue Nov 9, 2022 · 0 comments
Open

What happens the S3 cache is wiped? #27

Foxcapades opened this issue Nov 9, 2022 · 0 comments
Assignees
Labels
question Further information is requested

Comments

@Foxcapades
Copy link
Member

Foxcapades commented Nov 9, 2022

For the campus that doesn't own the jobs?

When looking up a job?

The campus that doesn't "own" the job will just assume the job doesn't exist, and return null when attempting to fetch the job.

When submitting a job?

Nothing special will happen, this is the standard use case.

When deleting a job?

Presently, deleting a job that isn't owned by the the same campus is not permitted. This action will fail regardless of whether the cache was wiped.

When updating a job?

Jobs are only to be updated by the owning campus.

For the campus that owns the jobs?

When looking up a job?

The process will check the database, find the job there, and return it. It will never realize that the job was deleted from the cache and so will report invalid information.

When submitting a job?

Job submission presently doesn't take into consideration whether the job already existed or not.

When deleting a job?

An error will be thrown for attempting to delete a non-existent workspace.

When updating a job?

The job will be updated in the database, then an exception will be thrown for attempting to write to a non-existent workspace in S3.

@Foxcapades Foxcapades added the question Further information is requested label Nov 9, 2022
@Foxcapades Foxcapades self-assigned this Nov 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant