Skip to content

Enhancement - Need to Provide Default Stop Request for Non-reconfigurable App #67

@fadhilkurnia

Description

@fadhilkurnia

Currently, when Application does not implement the Reconfigurable interface, Gigapaxos will try to use TrivialReconfigurable. However, that reconfigurable will throw an exception when it tries to get the Stop Request in the getStopRequest(.) method.

Moreover, the same exception will also be thrown in different methods, such as getFinalState(.), putInitialState(.), deleteFinalState(.), getEpoch(.), checkpoint(.), and restore(.), with the following exception message:

throw new RuntimeException("Can not get stop request for a non-replicable app");

it would be better for App developer to be provided with DefaultStopRequest when Reconfigurable interface is not implemented. That would drastically reduce the number of implementation efforts required by developers.

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