• v1.10.1 61ededa230

    vitalif released this 2025-01-03 16:22:09 +03:00 | 12 commits to master since this release

    New features:

    • Add "deleted" image flag which is set when vitastor-cli rm starts to delete an image,
      but can't delete it fully due to inactive PGs or stopped OSDs
    • Support JSON output in vitastor-disk prepare and purge
    • Show backfillfull pools in vitastor-cli status
    • Make object listings consistent (used in vitastor-cli rm/rm-data/merge/etc).
      This means that there is now a guarantee that if a data block is present when you invoke rm,
      rm will attempt to delete it, even if rm is invoked when the PG switches state. Previously in
      such cases rm could skip and leave some objects behind as garbage, and merge probably could
      incorrectly move data between snapshots.
    • Make deletions (rm/rm-data) consistent. This means that rm/rm-data will either complete
      successfully and delete all requested image data or complete with an error if some objects
      could not be deleted or if there is a possibility that some data is left on stopped OSDs.
      Previously, when some PGs or OSDs were inactive at the moment of deletion, rm-data was
      behaving incorrectly: it wasn't retrying deletions failed due to dropped OSD connections,
      it could hang waiting for PGs to activate, and it could return with a successful error
      code while some garbage was still possibly left on some OSDs. Deletions are not fully atomic
      cluster-wide yet, which means that you still have to repeat the deletion request after you
      return stopped OSDs back, but now you always know for sure if you have to repeat it.

    Bug fixes:

    • Fix vitastor-cli rm --exact / --matching command not working
    • Finally fix "Unexpected status" in the Proxmox plugin
    • Fix vitastor-cli create-snap incorrectly linking multiple snapshots in a different pool
    • Fix incomplete image parent_id loop check in OSD
    • Fix reads from snapshots in a different pool not working if there are more than 2 snapshots
    • Fix append of VITASTOR_CONF to cmdline in the opennebula prebackup script
    • Fix OSDs crashing again when the cluster is full with EC (was meant to work since 1.6.0 but didn't)
    • Improve logging of subop failures
    Downloads