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

copy / move mail Error #135

Closed
jrse opened this issue Apr 19, 2018 · 1 comment
Closed

copy / move mail Error #135

jrse opened this issue Apr 19, 2018 · 1 comment
Assignees
Labels

Comments

@jrse
Copy link
Contributor

jrse commented Apr 19, 2018

if mail copy or move mail fails due to rados error.

e.g. invalid namespace (src or destination), plugin will create 0 byte destination object.
and exits gracefully.

Additional calls to mail object will fail due to invalid size,.

@jrse jrse added the bug label Apr 19, 2018
@jrse jrse self-assigned this Apr 19, 2018
jrse added a commit that referenced this issue Apr 19, 2018
return value of copy/move function was always 0.
jrse added a commit that referenced this issue Apr 20, 2018
in case source mail does not exist anymore, mail is set_expunged 
and mailbox is set as corrupted which triggers a cleanup.
@jrse
Copy link
Contributor Author

jrse commented Apr 20, 2018

In case the copy operation fails, the return value of copy operation is returned to rbox-copy.

In the following the mail will be marked as deleted (if error code is -2 not found), and mailbox is set to corrupted and src mail will be removed from index.

@jrse jrse closed this as completed Apr 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant