Skip to content

Commit error handling can be dropped during MPR rewrite #308

@hjotha

Description

@hjotha

Problem:

Commit object activities with rollback error handling can roundtrip from commit $X on error rollback; to commit $X; because the writer omits rollback as a default and the parser does not restore it when the BSON field is absent.

Expected:

Rollback error handling should survive describe/exec/describe for commit activities.

Impact:

The textual roundtrip loses an explicit behavior setting and creates unnecessary drift for commit actions.

Proposed fix:

Make parser and writer handling symmetric: parse absent commit error handling as rollback, and always write the field with rollback as the default value.

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