Skip to content

v1.2.0

Latest
Compare
Choose a tag to compare
@KaymeKaydex KaymeKaydex released this 05 Nov 12:10
· 6 commits to master since this release

CHANGES:

  • We don't support LogProvider interface anymore, only LogfProvider should be used.

BUG FIXES:

  • RouterCallImpl: retry on BucketResolve error.
  • RouterCallImpl: do not retry on vshard error "TRANSFER_IS_IN_PROGRESS".
  • RouterCallImpl: remove misleading RetryOnCall.
  • AddInstance bugfix: pass r.cfg.PoolOpts to new instance.

FEATURES:

  • Support StdoutLoggerf that allows control log level (resolve issue #84).
  • Support new BucketsSearchMode config to set policy for BucketDiscovery (resolve #71).
  • Implemented CalculateEtalonBalance based on lua router (part of #32).
  • Implement go-tarantool Logger interface to use the same logger as router uses (resolve issue #79).
  • Implemented ClusterBootstrap function based on lua router (#32).

REFACTOR:

  • Func bucketSearchLegacy: log error from bucketStatWait (except bucketStatError).
  • New bucketsDiscoveryAsync, bucketsDiscoveryWait, bucketsDiscovery methods for buckets discovery pagination.
  • Support bucketSearchBatched method for batched buckets discovery (resolve #71).

TESTS:

  • Tests for BucketsSearchMode (tnt/discovery_test.go).
  • The tests have been rewritten in such a way that now you can configure the cluster to suit any needs, the configuration of the clusters may differ and the launch is controlled from go.
  • Legacy integration tests removed (tests/integration).