Bug 763294 (GLUSTER-1562) - insufficient consistency check on start of glusterd
Summary: insufficient consistency check on start of glusterd
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1562
Product: GlusterFS
Classification: Community
Component: glusterd
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-09-07 15:02 UTC by Csaba Henk
Modified: 2013-12-09 01:19 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

Description Csaba Henk 2010-09-07 15:02:54 UTC
If the gluster instance has terminated its course in a dirty way -- eg. we do
a

  # pgrep gluster | xargs kill -9

(IRL assume a system crash, an OOM situation or a segfault), then when glusterd is started next time, it still shows the gluster volumes "started" -- albeit the gluserfs servers are not running.

Any inconstency in permanently stored state should be detected at startup time, so that if things gets cluttered, then, in lack of a better idea, as a last resort we can go for a full restart of the gluster ecosystem.

In this case, a check of pid files against volume info file seems to be sufficient.

Comment 1 Vijay Bellur 2010-09-22 11:44:07 UTC
PATCH: http://patches.gluster.com/patch/4927 in master (Restart all bricks which are down when glusterd comes up)


Note You need to log in before you can comment on or make changes to this bug.