Skip to content

Releases: tikv/client-go

v2.0.7

14 Apr 06:00
c853ddc
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.6...v2.0.7

v2.0.6

06 Mar 03:37
3f7860f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.5...v2.0.6

v2.0.5

03 Feb 07:41
8fd09cd
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.4...v2.0.5

v2.0.4

06 Jan 05:32
5a4b9ac
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.3...v2.0.4

v2.0.3

08 Dec 04:32
6d5cb2d
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: v2.0.2...v2.0.3

v2.0.2

03 Nov 02:33
8f35d3a
Compare
Choose a tag to compare

What's Changed

  • *: update readme by @disksing in #430
  • Add a columnFamily feature for client-go when use rawput in tikv by @joccau in #425
  • integration: use less tidb code by @disksing in #431
  • integration: replace some unistore with mockstore by @disksing in #432
  • Fix incorrect LockNoWait value by @sticnarf in #435
  • Add options parameters in API CompareAndSwap by @joccau in #433
  • integration: try not to skip snapshotFailTest when run with tikv by @disksing in #445
  • mockstore: fix assertion by @disksing in #446
  • txn: support read-consistency read with tso checking by @cfzjywxk in #447
  • region_cache: support buckets by @youjiali1995 in #439
  • Update lock ttl when retry to pessimistic lock keys by @longfangsong in #417
  • Return assertion failed error less prior to other kinds of errors by @MyonKeminta in #448
  • fix the comment of TimeDetail by @ekexium in #451
  • backoff: deep copy the needed fields for backoffer type by @cfzjywxk in #453
  • reconnect when meets store-not-match errors by @youjiali1995 in #456
  • config,txnkv: make txnCommitBatchSize adjustable by config by @jackysp in #457
  • *: use global variable instead of config for TxnCommitBatchSize by @jackysp in #458
  • fix compatibility test by @disksing in #463
  • add comment for rawkv scans by @disksing in #462
  • client: fix the race between connArray.Close() and connArray.Get() by @youjiali1995 in #465
  • fix linter warning by @disksing in #470
  • Add a failpoint to sleep before prewrite secondary by @ekexium in #460
  • tikv:move split region request to pd by @qidi1 in #459
  • tikv: check nil response of split region by @disksing in #472
  • request: print original error if the recv failure is injected by @cfzjywxk in #474
  • Revert "tikv:move split region request to pd (#459)" by @disksing in #476
  • internal/unionstore: avoid panic and add log for tidb issue/34307 by @tiancaiamao in #482
  • unionstore: make lock earlier by @xiongjiwei in #484
  • region_cache: in some cases, LocateBucket should not return nil. by @SpadeA-Tang in #486
  • Add backoff for error recovery in progress by @Connor1996 in #485
  • fix data race on the KVSnapshot.interceptor by @hawkingrei in #489
  • atomic PrewriteMaxBackoff by @hawkingrei in #488
  • *: fix data race on the SetResourceGroupTagger by @hawkingrei in #491
  • region_cache: rename LocateBucketV2 to LocateBucket and let the old LocateBucket be the internal function of the new LocateBucket by @SpadeA-Tang in #496
  • fix the vulnerability of atomicity in async commit by @ekexium in #492
  • region_cache: Add comments for LocateBucket by @SpadeA-Tang in #497
  • metrics: add loading region cache duration by @you06 in #502
  • txn: record resolving locks by @longfangsong in #473
  • tiflash: Add TiFlash compact command by @breezewish in #504
  • Fix incorrect clear of resolving array by @sticnarf in #507
  • support find stores with tiflash_mpp label by @guo-shaoge in #481
  • unionstore: add checkpoint API to support TiDB savepoint feature by @crazycs520 in #490
  • Preserve is_retry_request flag for prewrite when retrying with region errors by @ekexium in #513
  • client: fix nil dereference when closing conns by @youjiali1995 in #514
  • Avoid sending requests to unhealthy leader by @sticnarf in #503
  • transaction: update undetermined error log by @jackysp in #531
  • [RawKV] support checksum by @haojinming in #519
  • client: support requests with source label by @you06 in #506
  • fix:move tikv.NewTxnClient to txnk.NewClient by @583373805 in #534
  • Add a callback when MemDB grows by @ekexium in #520
  • txn: also record get-latest-ts time in commit details by @zyguan in #538
  • add replica read adjuster function in KVSnapshot by @glorv in #540
  • client: change loglevel of sendBatchRequest() for context cancellation by @dveeden in #542
  • Introduce API v2 by @iosmanthus in #494
  • util: handle GetLatestTsTime in the methods properly by @zyguan in #543
  • Handle more detailed statistics from TiKV by @sticnarf in #536
  • *: update google/btree to improve performance by @hawkingrei in #547
  • retry: make backoff more reasonable for DataNotReady by @nolouch in #550
  • client: change loglevel of batchRecvLoop fails when receiving, needs to reconnect by @SeaRise in #551
  • add checksum for apiv2 by @haojinming in #549
  • Do not format error when response does not include ExecDetailsV2 by @sticnarf in #553
  • go.mod: update pd/client by @Defined2014 in #554
  • support adding ExecDetailsV2 to tracing by @zyguan in #559
  • Fix that histogram is not inserted into rpcNetLatencyHistCache by @sticnarf in #563
  • txnkv: fix a bug that commitTSUpperBoundCheck err not handled by @tiancaiamao in #564
  • Drop Go 1.17 support by @sticnarf in #562
  • Clear intersecting regions in the cache when inserting a region by @sticnarf in #566
  • txn: seperate prewrite and commit in detail information and add clone methods by @cfzjywxk in #567
  • *: add getPDClient to rawKV public api by @c4pt0r in #570
  • Update README.md by @c4pt0r in #571
  • update dependency of integration test by @cfzjywxk in #572
  • Support postponed conflict check by @ekexium in #556
  • update tidb dependency of integration tests & use go 1.19 by @ekexium in #577
  • *: support the kv_flashback_to_version cmd by @JmPotato in #578
  • PessimisticLock: Lock the specified key only if the key exists by @TonsnakeLin in #561
  • *: introduce the non-retryable error FlashbackInProgress by @JmPotato in #579
  • add a flag PreviousPresumeKNE by @ekexium in #581
  • feat(region_cache): sync leader store epoch when switchWorkLeaderToPeer by @Ryan-Git in #573
  • extend the scope of using lock_only_if_exists by @TonsnakeLin in #582
  • Distinguish different types of write conflicts by @ekexium in #583
  • Don't let pessimistic txn prewrite in the optimistic way by @ekexium in #584
  • Avoid data race at workTiFlashIdx by @sticnarf in #586
  • txnkv: export DefaultScanBatchSize variable by @crazycs520 in #588
  • *: disable PermitWithoutStream to avoid too many pings by @jackysp in #574
  • update comments by @windtalker in #590
  • *: Support kv_prepare_flashback_to_version cmd by @Defined2014 in #592
  • Acquire read lock in LockKeys to avoid data race by @sticnarf in #585
  • mocktikv: impl LoadKeyspace and WatchKeyspaces for pd client by @CabinfeverB in #597
  • Fix the missing unlock in extractKeyExistsErr by @sticnarf in #603
  • region_cache: fix bug when reload tiflash_compute store cache by @guo-shaoge in #598
  • Introduce the FlashbackNotPrepared error by @JmPotato in #6...
Read more

v2.0.1

07 Apr 04:30
cbfd640
Compare
Choose a tag to compare

What's Changed

  • Fix incorrect LockNoWait value
  • client: fix the race between connArray.Close() and connArray.Get()

Full Changelog: v2.0.0...v2.0.1

v2.0.0

24 Feb 08:27
e5f932a
Compare
Choose a tag to compare
txnkv: fix the issue that deleteRange cannot use nil as endkey (#429)

Signed-off-by: disksing <i@disksing.com>

v2.0.0-rc

09 Dec 06:36
c0e8766
Compare
Choose a tag to compare
v2.0.0-rc Pre-release
Pre-release
txnkv: decrease some max and base backoff time (#388)


Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>

v2.0.0-alpha

23 Jun 04:10
b384d71
Compare
Choose a tag to compare
v2.0.0-alpha Pre-release
Pre-release
branch name related changes (#146)

Signed-off-by: disksing <i@disksing.com>