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

imap crashes with signal 11 if rados connect fails #106

Closed
peter-mauritius opened this issue Nov 10, 2017 · 1 comment
Closed

imap crashes with signal 11 if rados connect fails #106

peter-mauritius opened this issue Nov 10, 2017 · 1 comment

Comments

@peter-mauritius
Copy link
Collaborator

Nov 10 17:19:31 imap(520000059158-0001): Debug: oid: da13353992d1055ac33200005b78498d, save_date: Thu Jan 1 00:59:59 1970
Nov 10 17:19:31 imap(520000059158-0001): Debug: [START] rbox-save.cpp: rbox_save_mail_write_metadata at line 241
Nov 10 17:19:31 imap(520000059158-0001): Debug: ctx->input->v_offset != output_msg_size 165067 vs 165067
Nov 10 17:19:31 imap(520000059158-0001): Debug: save_date Thu Jan 1 00:59:59 1970
Nov 10 17:19:31 imap(520000059158-0001): Debug: [END] rbox-save.cpp: rbox_save_mail_write_metadata at line 313
Nov 10 17:19:31 imap(520000059158-0001): Debug: ERROR, cannot open rados connection (rbox_save_finish)
Nov 10 17:19:31 imap(520000059158-0001): Debug: [END] rbox-save.cpp: rbox_save_finish at line 431
Nov 10 17:19:31 imap(520000059158-0001): Debug: [START] rbox-save.cpp: rbox_transaction_save_rollback at line 541
Nov 10 17:19:31 imap(520000059158-0001): Fatal: master: service(imap): child 12995 killed with signal 11 (core dumped)

@peter-mauritius peter-mauritius changed the title imap chrashes with signal 11 if rados connect fails imap crashes with signal 11 if rados connect fails Nov 10, 2017
jrse added a commit that referenced this issue Nov 11, 2017
in case connection to rados can not be opened in save_finished,
r_ctx->failed is set to true and  rbox_transaction_save_rollback is
called. transaction_save_rollback then tries in every case to remove
already writen objects or object parts from rados. This fails if the 
connection is closed. 
FIX: before trying to remove objects, a check is performed if connection
is open.
jrse added a commit that referenced this issue Nov 11, 2017
- moved check for open connection to librmb rados storage impl.
@jrse
Copy link
Contributor

jrse commented Nov 11, 2017

ready for retest

@jrse jrse closed this as completed Nov 11, 2017
jrse added a commit that referenced this issue Dec 4, 2017
jrse added a commit that referenced this issue Dec 4, 2017
- public namespace now configurable
- refactored rmb mail method.
jrse added a commit that referenced this issue Dec 4, 2017
jrse added a commit that referenced this issue Dec 4, 2017
- rename user
- fixed: formatting rados-storage-impl.cpp
jrse added a commit that referenced this issue Dec 4, 2017
jrse added a commit that referenced this issue Dec 5, 2017
- rbox_cluster_name -> define clustername: default: ceph
- rados_user_name -> define rados user_name to user : default
client.admin
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

No branches or pull requests

2 participants