[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gluster-devel] add-brick crashes client
From: |
Emmanuel Dreyfus |
Subject: |
Re: [Gluster-devel] add-brick crashes client |
Date: |
Fri, 3 Aug 2012 05:13:02 +0000 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
On Fri, Aug 03, 2012 at 04:52:11AM +0000, Emmanuel Dreyfus wrote:
> This means pthread_getspecific(synctask_key) in synctask_get() returned
> NULL, something I cannot explain. I see the logs complain about a volume
> being down. This may be the cause of the problem since I have been able
> to do a live brick-add later, once I restarterd glusterd/glusterfsd on
> all bricks.
Wrong, it did not succeed after the restart. I thought it did because
it did not crashed, but it just failed for another reason (the brick
already has glusterfs extended attributes and is considered already
in use, I had to cleanup extended attrbiute to crash with add-brick
again).
Reading the code further, it seems that I crash here because
syncenv_processor/synctask_switchto/synctask_set/pthread_setspecific
is not called before
synctask_new/synctask_wrap/synctask_get/pthread_getspecific
It seems there is a race condition here. Someone knowledgable can
confirm?
--
Emmanuel Dreyfus
address@hidden
- [Gluster-devel] add-brick crashes client, Emmanuel Dreyfus, 2012/08/03
- Re: [Gluster-devel] add-brick crashes client,
Emmanuel Dreyfus <=
- Re: [Gluster-devel] add-brick crashes client, Emmanuel Dreyfus, 2012/08/03
- Re: [Gluster-devel] add-brick crashes client, Amar Tumballi, 2012/08/03
- Re: [Gluster-devel] add-brick crashes client, Emmanuel Dreyfus, 2012/08/03
- Re: [Gluster-devel] add-brick crashes client, Emmanuel Dreyfus, 2012/08/03
- Re: [Gluster-devel] add-brick crashes client, Emmanuel Dreyfus, 2012/08/03
- Re: [Gluster-devel] add-brick crashes client, Emmanuel Dreyfus, 2012/08/03