Silvan 0719d9d939
fix(eventstore): correct sql push function (#9201)
# Which Problems Are Solved

https://github.com/zitadel/zitadel/pull/9186 introduced the new `push`
sql function for cockroachdb. The function used the wrong database
function to generate the position of the event and would therefore
insert events at a position before events created with an old Zitadel
version.

# How the Problems Are Solved

Instead of `EXTRACT(EPOCH FROM NOW())`, `cluster_logical_timestamp()` is
used to calculate the position of an event.

# Additional Context

- Introduced in https://github.com/zitadel/zitadel/pull/9186
- Affected versions:
https://github.com/zitadel/zitadel/releases/tag/v2.67.3
2025-01-17 15:35:04 +01:00
..
2023-09-22 13:06:59 +02:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-11-28 10:06:52 +00:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2023-11-22 12:05:14 +00:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2023-12-08 13:14:22 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-01-17 10:16:48 +00:00
2024-01-25 17:28:20 +01:00
2024-01-25 17:28:20 +01:00
2024-06-18 11:27:44 +00:00
2024-06-18 11:27:44 +00:00
2024-10-04 13:15:41 +00:00
2024-10-28 08:29:34 +00:00