path: root/extras
diff options
authorAtin Mukherjee <>2015-12-21 23:13:43 +0530
committerAtin Mukherjee <>2016-01-14 01:35:05 -0800
commita7b399fd0ef928c2cca4092b00edb21e70c59f62 (patch)
treefb7bbec5c661d4b21bdb138b0b6c438eeffc818d /extras
parent6bf5392b674e40bf4add99ccfb01ff539c8386b0 (diff)
glusterd: import/export brickinfo->uuid
Backport of Given a two node cluster with node N1 & N2, if a dummy node N3 is peer probed, the probed node N3 goes for importing volumes from the probing node (N1), but it still doesn't have information about the other node (N2) about its membership (since peer update happens post volume updates) and hence fail to update its brick's uuid. Post that even though N2 updates N3 about its membership the brick's uuid was never generated. Now as a consequence when N3 initiates a detach of N2, it checks whether the node to be detached has any bricks configured by its respective uuid which is NULL in this case and hence it goes ahead and removes the peer which ideally it shouldn't have (refer to glusterd_friend_contains_vol_bricks () for the logic) Fix is to export brick's uuid and import it at the probed node instead of resolving it. Change-Id: I2d88c72175347550a45ab12aff0ae248e56baa87 BUG: 1297305 Signed-off-by: Atin Mukherjee <> Reviewed-on: Tested-by: Gluster Build System <> Tested-by: NetBSD Build System <> Reviewed-by: Gaurav Kumar Garg <> Reviewed-by: Avra Sengupta <> Reviewed-on:
Diffstat (limited to 'extras')
0 files changed, 0 insertions, 0 deletions