Skip to content

Rolling back a bulk insert command doesn't work #28712

Closed

Description

@roji

When a command is added to a batch which goes over a limit (e.g. too many commands, too many parameters), we "roll it back", resetting the batch's state as if that command wasn't added. When adding a bulk-insert command for SQL Server, this isn't done properly: the command is removed from the SQL Server pending commands list, but the base rollback tasks are skipped. As a result, the batch state partially remains as if the command has been successfully added.

Activity

  1. added this to the 7.0.0 milestone on Aug 15, 2022
  2. self-assigned this
    on Aug 15, 2022
  3. added a commit that references this issue on Aug 15, 2022
    98ee073
  4. added 3 commits that reference this issue on Aug 15, 2022
    6488a72
    b233f1e
    094e63f
  5. ghost closed this as completedin #28713on Aug 15, 2022
  6. ghost added a commit that references this issue on Aug 15, 2022
    42b093f
  7. modified the milestones: 7.0.0, on Aug 16, 2022
  8. modified the milestones: , 7.0.0 on Nov 5, 2022
  9. added theissue type on Jun 15, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions