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

Jrse #182 #186

Merged
merged 16 commits into from
Aug 13, 2018
Merged

Jrse #182 #186

merged 16 commits into from
Aug 13, 2018

Conversation

jrse
Copy link
Contributor

@jrse jrse commented Aug 13, 2018

The bugfix makes sure that all available mails will be exported if one of the mail objects no longer exist in rados storage.
In short, the solution is to set the error MAIL_ERROR_EXPUNGED for missing mails, in this case, the backup process will ignore this mail and proceed with next mail in index.

Additionally i did some code cleanup.

jrse and others added 16 commits August 7, 2018 19:20
    - backup all valid mail objects to the other mailbox format
    - print error for all invalid index entries.
    - new unit test to eval correct error code is set.
- updates the extended header if flags have changed.
- split rbox_mail_storage_try_copy into smaller functions.
- fixed: some cpplint issues.
- consistent nameing for rbox_storage, rbox_mailbox, rbox_save_context
- removed duplicate code (rbox_append_index)
- renamed RadosMailObject to RadosMail
 - renamed rbox_mail->mail_object to rbox_mail->rados_mail
 - fixed: rbox_storage.cpp formatting.
@jrse jrse merged commit c9559b9 into master Aug 13, 2018
@jrse jrse deleted the jrse_#182 branch August 13, 2018 11:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant