Skip to content

v2.0.2

Compare
Choose a tag to compare
@disksing disksing released this 03 Nov 02:33
· 479 commits to master since this release
8f35d3a

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 #606
  • Fix the false positive assertion error caused by loss of pessimistic locks by @ekexium in #596
  • rawkv: permit empty value by @pingyu in #612
  • implement external timestamp for mock pd by @YangKeao in #611
  • implement the external timestamp client by @YangKeao in #610
  • Upgrade tidb in integration test by @YangKeao in #614

New Contributors

Full Changelog: v2.0.0...v2.0.2