zitadel/internal/api/grpc
Tim Möhlmann c0e45b63d8
fix: reset the call timestamp after a bulk trigger (#6080)
* reproduce #5808

Add an integration test that imports and gets N amount of human users.
- With N set to 1-10 the operation seems to succeed always
- With N set to 100 the operation seems to fail between 1 and 7 times.

* fix merge issue

* fix: reset the call timestamp after a bulk trigger

With the use of `AS OF SYSTEM TIME` in queries,
there was a change for the query package not
finding the latest projection verson after
a bulk trigger.
If events where processed in the bulk trigger,
the resulting row timestamp would be after the call
start timestamp.
This sometimes resulted in consistency issues when
Set and Get API methods are called in short succession.
For example a Import and Get user could sometimes result in a Not Found
error.

Although the issue was reported for the Management API user import,
it is likely this bug contributed to the flaky integration and e2e tests.

Fixes #5808

* trigger bulk action in GetSession

* don't use the new context in handler schedule

* disable reproduction test

---------

Co-authored-by: Livio Spring <livio.a@gmail.com>
2023-07-07 08:15:05 +00:00
..
action feat(actions): local users (#5089) 2023-01-25 13:08:01 +00:00
admin feat: migrate external idp to other types (#5984) 2023-06-08 00:50:53 +02:00
auth feat: user v2alpha email API (#5708) 2023-04-25 09:02:29 +02:00
authn chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
change refactor(changes): use queries.SearchEvents (#5388) 2023-03-17 09:14:06 +00:00
client/middleware chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
errors remove negated integration tags 2023-04-26 19:55:13 +03:00
event fix(adminAPI): localize event type (#5059) 2023-01-19 15:50:05 +00:00
idp feat: ldap provider login (#5448) 2023-03-24 15:18:56 +00:00
instance fix: use default redirect uri when not passed on end_session endpoint (#4054) 2022-07-27 09:49:16 +02:00
management fix: reset the call timestamp after a bulk trigger (#6080) 2023-07-07 08:15:05 +00:00
member chore(console): remove first and lastName fallback from user (#5629) 2023-04-11 15:56:51 +00:00
metadata feat(org): add org metadata functionality (#4234) 2022-09-20 14:32:09 +00:00
object feat(api): new settings service (#5775) 2023-05-11 09:23:40 +00:00
org fix(console): add state filter to org table, filter context (#5650) 2023-04-12 15:02:54 +02:00
policy feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
project feat: device authorization RFC 8628 (#5646) 2023-04-19 08:46:02 +00:00
server fix: delete cookies (#5885) 2023-05-19 05:12:31 +00:00
session/v2 fix: reset the call timestamp after a bulk trigger (#6080) 2023-07-07 08:15:05 +00:00
settings feat: implement register Passkey user API v2 (#5873) 2023-05-24 10:22:00 +00:00
system fix: nil pointer on create instance add machine (#6000) 2023-06-15 06:16:39 +00:00
text feat: add Help/Support e-mail for instance/org (#5445) 2023-03-28 21:36:52 +02:00
user feat: push telemetry (#6027) 2023-07-06 08:38:13 +02:00
config.go remove pointers on configs 2020-03-27 13:57:16 +01:00
fields.go fix: provide more information in the retrieve idp information (#5927) 2023-06-20 14:39:50 +02:00
header_test.go remove negated integration tags 2023-04-26 19:55:13 +03:00
header.go chore(v2): move to new org (#3499) 2022-04-26 23:01:45 +00:00
probes_test.go add server reflection to Probes list 2023-05-07 16:47:43 +02:00
probes.go add server reflection to Probes list 2023-05-07 16:47:43 +02:00