{"push_id":1188826119,"size":1,"distinct_size":1,"ref":"refs/heads/master","head":"967a77ed4db0e1c0bcc23f132e312b659ce961ef","before":"01d6b17bac704a320bc0549ae063ee7f4bf3748b","commits":[{"sha":"967a77ed4db0e1c0bcc23f132e312b659ce961ef","author":{"name":"Atin Mukherjee","email":"bfbec60e4410e406581acf3c924b59011e1a0298@redhat.com"},"message":"glusterd: search port from last_alloc to base_port\n\nIf a brick process is killed ungracefully then GlusterD wouldn't receive a\nPMAP_SIGNOUT event and hence the stale port details wouldn't be removed out.\n\nNow consider the following case:\n1. Create a volume with 1 birck\n2. Start the volume (say brick port allocated is 49152)\n3. Kill the brick process by 'kill -9'\n4. Stop & delete the volume\n5. Recreate the volume and start it. (Now the brick port gets 49153)\n6. Mount the volume\n\nNow in step 6 mount will fail as GlusterD will provide back the stale port\nnumber given the query starts searching from the base_port.\n\nSolution:\n\nTo avoid this, searching for port from last_alloc and coming down to base_port\nshould solve the issue.\n\nChange-Id: I9afafd722a7fda0caac4cc892605f4e7c0e48e73\nBUG: 1334270\nSigned-off-by: Atin Mukherjee <amukherj@redhat.com>\nReviewed-on: http://review.gluster.org/14268\nSmoke: Gluster Build System <jenkins@build.gluster.org>\nNetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>\nCentOS-regression: Gluster Build System <jenkins@build.gluster.org>\nReviewed-by: Samikshan Bairagya <samikshan@gmail.com>\nReviewed-by: Jeff Darcy <jdarcy@redhat.com>","distinct":true,"url":"https://api.github.com/repos/gluster/glusterfs/commits/967a77ed4db0e1c0bcc23f132e312b659ce961ef"}]}
{"actor":{"display_login":"mscherer"}}