Skip to content

Low Resolution of Modification Timestamp is problematic #2131

@roland-ruedenauer

Description

@roland-ruedenauer

The mtime metadata property uses a timestamp resolution with a resolution of 1 second only.
When quickly creating revisions of the same item (e.g. during testing), they may end up having the same mtime value.
This makes it impossible to tell exactly, which item has been created latest, as mtime sort order is used by moin.

Some unit tests use sleep(1.1) to avoid running into this problem.

To do: find a good solution to avoid the ordering problem (increase mtime resolution, use a different field for ordering revisions, ...)

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