tidb-incubator / TiBigData

TiDB connectors for Flink/Hive/Presto
Apache License 2.0
211 stars 57 forks source link

Optimize RowIDAllocator #229

Closed humengyu2012 closed 1 year ago

humengyu2012 commented 1 year ago

What is the purpose of the change

Fixed conflicts for creating RowIDAllocator.

Brief change log

  1. Set the default lock ttl to 1000ms and remove random sleep time for flink 1.14 when creating RowIDAllocator.

Verifying this change

Add some test for creating RowIDAllocator concurrently(50 threads).

Does this pull request potentially affect one of the following parts:

Documentation

humengyu2012 commented 1 year ago

/run-all-tests

humengyu2012 commented 1 year ago

/run-all-tests

humengyu2012 commented 1 year ago

/run-all-tests

humengyu2012 commented 1 year ago

/run-all-tests

humengyu2012 commented 1 year ago

/run-all-tests

humengyu2012 commented 1 year ago

/run-all-tests

humengyu2012 commented 1 year ago

/run-all-tests

xuanyu66 commented 1 year ago

/run-all-tests