Reduce org creation latency and fix translation cascade failures

FixSecurityService
Ya
28 Aprili 2026, 22:24 UTC
Mwandishi
Kamo
Ahadi ya
53b9ad6

- OrganizationController: replace ensureTeamMembersForAllOrgs (full org table scan) with ensureTeamMemberForOrg (single org) — eliminates the ~400ms×N DB round-trips that made the /network/create submit appear stuck - OrganizationController: move emailTemplateSeedClient.seedOrg to a post-commit CompletableFuture so it no longer blocks the HTTP response - SystemUserBackfillService: add ensureTeamMemberForOrg for the focused single-org path used during creation - CommitLogTranslationListener: remove shared @Transactional from translateCommitLog and introduce saveLocaleTranslation with REQUIRES_NEW so a single locale DB error cannot abort the CockroachDB connection and poison all subsequent locale inserts in the same batch

Mabadiliko yote

Je, unaona nini kuhusu usafiri?

Kila moja ya hizi updates ardhi katika nafasi yako ya kazi moja kwa moja. Kuanza bure na kuangalia kukua wiki baada ya wiki.

Kuwa Huru MileleMtazamo wa bei