Skip to content
This repository was archived by the owner on Mar 26, 2020. It is now read-only.

stale brick process when volume stop operations are done in parallel in brick multiplexing mode #1470

@atinmu

Description

@atinmu

During stopBricks () , if we happen to send the volume stop requests in parallel, GD2 might fail to determine the last brick in the proc entry because -
Given it tries to match if for the given path if portmapper has only one entry, the sign out even might be processed later and even though it's the last brick to be detached function IsLastBrickInProc () will return > 1.

We should be moving towards a list based approach to store (in memory) all the bricks attached to the parent process and then build up the logic.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions