Question 1:
Control’s * Current TSO: The physical timestamp part of the currently allocated TSO, which is what we normally understand as a timestamp.
So can I use this TSO to check the physical time it represents?
Logic refers to logical time, which is the logical clock part in the diagram above. The conversion of the physical timestamp above can be done in this way.
TSO consists of 46 physical bits and 18 logical bits, meaning that one physical time corresponds to 2^18 TSOs. In pd-ctl, the logic is the value of these 18 bits converted to decimal.
In version v5.4.0, the title has been changed to “Current TSO Physical” to avoid misunderstandings. This time is the high 46 bits in the TSO and cannot be directly converted using pd-ctl tso. To put it simply, you first convert the “Current TSO Physical” value to binary format, then pad 18 zeros at the end, and convert it back to decimal format. You can then use pd-ctl tso to view the value.