-
Bug
-
Resolution: Done
-
Major
-
None
-
False
-
False
-
Undefined
-
-
As a solution to DBZ-1643, the SQL Server connector attempts to convert transaction times to UTC using the AT TIME ZONE 'UTC' expression.
It doesn't seem to work because the lsn_time_mapping table stores only the local time of the transaction, and according to the SQL Server documentation,
When inputdate is provided without offset information, the function applies the offset of the time zone assuming that inputdate is in the target time zone.
As a result, if a server runs say in UTC-4, the connector metrics always show it as 4 hours behind the source.