RabbitMQ run into race condition after updating

Solution Verified - Updated -

Issue

After updating RabbitMQ

From: rabbitmq-server-3.3.5-4.el7ost.noarch
To: rabbitmq-server-3.3.5-7.el7ost.noarch

and it's restarted, RabbitMQ run into race condition, and report crash.
Trigger is to restart its process, which is required by this update.

    2 =CRASH REPORT==== 14-Dec-2015::15:21:11 ===
    3   crasher:
    4     initial call: gen:init_it/6
    5     pid: <0.1871.0>
    6     registered_name: []
    7     exception exit: {bad_return_value,
    8                         {error,
    9                             {{badmatch,{error,not_found}},
   10                              [{gm,'-record_dead_member_in_group/3-fun-1-',2,
   11                                   [{file,"src/gm.erl"},{line,1123}]},
   12                               {mnesia_tm,apply_fun,3,
   13                                   [{file,"mnesia_tm.erl"},{line,832}]},
   14                               {mnesia_tm,execute_transaction,5,
   15                                   [{file,"mnesia_tm.erl"},{line,812}]},
   16                               {rabbit_misc,
   17                                   '-execute_mnesia_transaction/1-fun-0-',1,
   18                                   [{file,"src/rabbit_misc.erl"},{line,499}]},
   19                               {worker_pool_worker,handle_call,3,
   20                                   [{file,"src/worker_pool_worker.erl"},
   21                                    {line,89}]},
   22                               {gen_server2,handle_msg,2,
   23                                   [{file,"src/gen_server2.erl"},{line,1001}]},
   24                               {proc_lib,wake_up,3,
   25                                   [{file,"proc_lib.erl"},{line,249}]}]}}}
   26       in function  gen_server2:terminate/3 (src/gen_server2.erl, line 1133)
   27     ancestors: [<0.1869.0>,rabbit_mirror_queue_slave_sup,rabbit_sup,
   28                   <0.1240.0>]
   29     messages: []
   30     links: []
   31     dictionary: [{random_seed,{5969,6841,13088}},
   32                   {process_name,
   33                       {gm,{resource,<<"/">>,queue,
   34                               <<"*****************************">>}}}]
   35     trap_exit: false
   36     status: running
   37     heap_size: 2586
   38     stack_size: 27
   39     reductions: 2390
   40   neighbours:

Environment

RHEL OSP6
Update to RHEL 7.2

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.