Bug 765009 (GLUSTER-3277) - rm fails when one brick is down
Summary: rm fails when one brick is down
Keywords:
Status: CLOSED NOTABUG
Alias: GLUSTER-3277
Product: GlusterFS
Classification: Community
Component: distribute
Version: 3.2.1
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: ---
Assignee: shishir gowda
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-07-29 09:28 UTC by Lakshmipathi G
Modified: 2013-12-09 01:26 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 Amar Tumballi 2011-07-29 08:38:57 UTC
This is a feature of 'distribute' than an error. We don't allow rmdir() to succeed when a node is down.

Comment 1 Lakshmipathi G 2011-07-29 09:28:55 UTC
With a two dht setup and testing with master commit-id "73eca3be5c5ccc71bbad934338c1ef58ed37c483" and
also with "f3c0281d9b4654888a5525b443f1e6090d874725" both fails.

# ls -l
total 40
drwxr-xr-x 2 root root 4096 Jul 28 23:57 b
drwxr-xr-x 2 root root 4096 Jul 28 23:57 c
drwxr-xr-x 2 root root 4096 Jul 29 00:01 cd
drwxr-xr-x 2 root root 4096 Jul 28 23:57 e
drwxr-xr-x 2 root root 4096 Jul 28 23:55 i


#killed one process.

# rmdir b
rmdir: b: Transport endpoint is not connected
# rmdir c
rmdir: c: Transport endpoint is not connected

# ls -l
total 40
drwxr-xr-x 2 root root 4096 Jul 28 23:57 b
drwxr-xr-x 2 root root 4096 Jul 28 23:57 c
drwxr-xr-x 2 root root 4096 Jul 29 00:01 cd
drwxr-xr-x 2 root root 4096 Jul 28 23:57 e
drwxr-xr-x 2 root root 4096 Jul 28 23:55 i


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