Skip to content

Restart from checkpoint can have _numGroups inconsistent with _groupTable #3898

@trquinn

Description

@trquinn

If an application deletes chare arrays with ckDestroy(), then writes a checkpoint with CkStartCheckpoint(), the application restarted from the checkpoint will have _numGroups smaller than the last ready entry in _groupTable. In the restarted application, such entries will be overwritten with subsequent ckNew()s. One possible outcome is a hang when a message sent to a new group arrives before the group is created and gets delivered to the group object that will be overwritten at group creation.

I believe this is the underlying issue causing issue #3678

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions