Skip to content

Remove Net5CompatFileStreamStrategy in .NET 7 early previews #55196

Closed

Description

@adamsitnik

For .NET 6, we have made FileStream much faster and more reliable, thanks to an almost entire re-write. The rewrite has introduced two breaking changes. We assumed that it might have introduced bugs as well. Because of that, .NET 6 shipped with a built-in FileStream .NET 5 compatibility mode which users could request by using an app compat switch or an environment variable.

Our assumptions were right, the rewrite has introduced some edge-case bugs. All of the reported issues are already fixed:

Since currently there are no known FileStream bugs introduced in .NET 6, the .NET 5 FileStream compatibility mode was removed. This change is included in .NET 7 preview 1.

Please let us know if there is any scenario that can’t be implemented in .NET 7 without using the .NET 5 compatibility mode.

Activity

  1. added this to the 7.0.0 milestone on Jul 6, 2021
  2. self-assigned this
    on Jul 6, 2021
  3. ghost added
    untriaged
    on Jul 6, 2021
  4. removed
    untriaged
    on Jul 6, 2021
  5. stephentoub commented on Jul 6, 2021

    @stephentoub
    Member

    We might want to wait a little while, in order to make it easier to port back to release/6.0 any straggling issues.

  6. changed the title [-]Remove Net5CompatFileStreamStrategy as soon as we snap for .NET 7[/-] [+]Remove Net5CompatFileStreamStrategy in .NET 7 early previews[/+] on Jul 30, 2021
  7. ghost added
    in-pr
    on Aug 19, 2021
  8. ghost removed
    in-pr
    on Oct 9, 2021
  9. removed their assignment
    on Oct 11, 2021
  10. ghost locked as resolved and limited conversation to collaborators on Nov 10, 2021
  11. added
    breaking-change
    on Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-System.IObreaking-change

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions