Note:
This topic has been translated from a Chinese forum by GPT and might contain errors.
Original topic: tso时间窗口: 每个tidb server 请求时分配3秒钟的tso,这3秒钟内其他tidb server请求的话tso也是延续分配吗?
If the first TiDB server1 requests at 10 seconds, PD will allocate the TSO from 10 to 13 seconds to it. If another TiDB server2 requests TSO at 12 seconds, will TiDB server2 get the TSO from 14 to 17 seconds, continuing from server1?
It should not be that the entire 3 seconds of TSO is allocated to a single TiDB instance. PD generates the TSO for these 3 seconds in batches every 3 seconds and then caches it in its own memory. The TiDB Server will request the TSO in batches from PD through the PD Client.
The PD primary node distributes to all requests, not in a round-robin manner to each TiDB Server.
Brother, what’s the title of your book?
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.