How to Troubleshoot Frequent tsFuture.wait During TSO Allocation?

Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.

Original topic: TSO分配过程中,tsFuture.wait等待较频繁如何排查?

| username: alfred

【TiDB Usage Environment】Production\Test Environment\POC
【TiDB Version】
【Encountered Issue】
【Reproduction Path】What operations were performed that led to the issue
【Issue Phenomenon and Impact】

| username: xfworld | Original post link

According to the official documentation, just follow the steps and guidelines to troubleshoot.

| username: h5n1 | Original post link

As long as TiDB initiates a TSO request, it will wait in tsFuture.wait. The important thing is to check whether the related duration of TSO is abnormal.