github open-telemetry/opentelemetry-dotnet-contrib PersistentStorage-1.1.2

3 hours ago
  • NuGet: OpenTelemetry.PersistentStorage.Abstractions v1.1.2

    No notable changes.

    See CHANGELOG for details.

  • NuGet: OpenTelemetry.PersistentStorage.FileSystem v1.1.2

    • Fixed FileBlobProvider deleting or renaming files with a .blob, .tmp
      or .lock extension that it did not create when its storage directory is
      shared with other files. Only files named the way FileBlobProvider names
      its blobs, and the temporary and lease files derived from them, are now
      removed or renamed when the storage is maintained, and only blobs named that
      way are now returned by GetBlobs() and TryGetBlob().
      (#5451)

    • Hardened FileBlobProvider.

      • When running on .NET on non-Windows platforms, the storage directory and
        the blob files within it are now created accessible to the current user
        only, including when the directory is recreated after being deleted.
      • Directory size accounting no longer follows subdirectories, avoiding
        a symbolic-link/junction walk.
      • Expired lease-file cleanup now correctly locates the lease timestamp
        delimiter within the file name rather than the whole path.
      • Timestamps in blob and lease file names are now always written using the
        Gregorian calendar. Previously, when the current culture used a different
        calendar, files were given timestamps that caused them never to be
        removed or released when the storage was maintained.
      • Temporary files left behind by a failed write to a leased blob are now
        removed once the lease has expired for longer than the write timeout.
      • Writing to a FileBlob that has already been written now replaces its
        content. Previously, writing without a lease failed, and writing with a
        lease left the existing blob in place and created a second copy of the
        blob with a nested lease.
        (#5451)

    See CHANGELOG for details.

Don't miss a new opentelemetry-dotnet-contrib release

NewReleases is sending notifications on new releases.