github Byron/gitoxide git-tempfile-v1.0.6
git-tempfile v1.0.6

2 years ago

Fixes a potential deadlock in in an interrupt handler attempting to cleanup tempfiles.

Chore

  • upgrade dashmap to 5.1.0 (with security fix)

Bug Fixes

  • Assure interrupt based tempfile cleanup can't deadlock.

    We do this by using the try_entry() API provided by the most recent
    dashmap, at the cost of potentially trying to access a lot of indices
    that don't exist in the map anymore. The cost of this are expected
    to be low though especially since interrupts are the uncommmon case.

    A side-effect of this is that tempfiles that are currently being
    removed for writing to them, for example, won't be cleaned up.

    It will be up to the code running after the interrupt, if the case
    at all, to deal with the tempfile, which is what it does anyway.

Commit Statistics

  • 3 commits contributed to the release.
  • 5 days passed between releases.
  • 2 commits where understood as conventional.
  • 1 unique issue was worked on: #328

Commit Details

view details
  • #328
    • Prepare changelog (8e92494)
    • Assure interrupt based tempfile cleanup can't deadlock (81ed5f5)
  • Uncategorized
    • upgrade dashmap to 5.1.0 (with security fix) (2520945)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.