hashicorp / hashicorp/consul

Expose /v1/txn size limit in Go API client

Open
#2,652 0 comments 0 reactions 0 assignees View on GitHub
theme/api type/enhancement
Dominant language
Go
Stars
30.1k
Forks
4.6k
Avg merge
1d 18h
Merged PRs (30d)
39

Description

Since there's a fixed 64-item limit, code often needs to know about this in order to chunk work, etc. We should expose a new endpoint that can get this size and make an efficient API call in the Go client to expose it (fetch it once and save it). This way code can be written in a generic way w/o having to hard-code the limit in the API client, since we may adjust the limit in the future.

Contributor guide

Open the contributing guide

Research direction

The issue names the /v1/txn endpoint and the Go API client but no files or tests. Locate the endpoint handler and client entry points first; done means the limit is exposed through an endpoint and the client fetches it once and retains the value for chunking work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
api
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.