Skip to content

Increase transaction list size for /v1/txn endpoint #2921

Closed

Description

@adoyle51

Because the /v1/txn endpoint has a limit of 64 transactions per request, transaction performance suffers when performing thousands of transactions at once. Much of the degredation appears to be due to waiting for HTTP responses from Consul when sending thousands of 64 operation transaction payloads.

I reached out to the mailing group with this message here, and it was stated that it would be possible to increase the txn transaction limit.

consul version for both Client and Server

Client: 0.8
Server: 0.8

Operating system and Environment details

CentOS7
AWS EC2 t2.large instances

Please let me know if there is any other information I should provide in this request.

Activity

  1. added this to the 0.8.2 milestone on Apr 18, 2017
  2. slackpad commented on Apr 18, 2017

    @slackpad
    Contributor

    We should do #2652 at the same time.

  3. removed this from the 0.8.2 milestone on Apr 25, 2017
  4. tkrisko commented on May 16, 2018

    @tkrisko

    I think the transaction size should be either unlimited or there should be a way
    to bind subsequent transactions together so API client can commit or revoke them. Current approach with specified limit still forces API client to split operations into "smaller" chunks what requires the client has to implement own transactional approach.

  5. vaidik commented on Jul 6, 2020

    @vaidik

    Did we make any progress on this? It looks like that the limit of 64 txns is still there and the only way to handle this is what @krzyszko has suggested

  6. danparisi commented on Sep 22, 2021

    @danparisi

    I am also wondering if this feature will be implemented

  7. osher commented on Aug 22, 2022

    @osher

    we need this too.
    the idea of breaking a transaction that should be atomic to separate operations feels wrong...

  8. msiege2 commented on Sep 20, 2022

    @msiege2
    Contributor

    This issue has been implemented with #14599 and will be in the next major Consul release.

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

    theme/apiRelating to the HTTP API interfacetype/enhancementProposed improvement or new feature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      ⌂ 换网址