feat(replicas): auto-heal slave data drift and no-store public settings

Add sync-replica-data repair on deploy, a publisher-side replica watch
(60s + after tenant/settings writes), REFRESH PUBLICATION after migrate,
and Cache-Control no-store on program-settings and get_version.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-18 12:32:30 +03:30
co-authored by Cursor
parent 668bbcc1db
commit 16d562caa5
13 changed files with 456 additions and 11 deletions
+2 -1
View File
@@ -1,4 +1,4 @@
import { Controller, Get, Headers, Query } from '@nestjs/common';
import { Controller, Get, Header, Headers, Query } from '@nestjs/common';
import { GetVersionService } from './get-version.service';
@Controller()
@@ -6,6 +6,7 @@ export class GetVersionController {
constructor(private readonly getVersionService: GetVersionService) {}
@Get('get_version')
@Header('Cache-Control', 'no-store')
getVersion(
@Headers('host') host?: string,
@Headers('x-forwarded-host') forwardedHost?: string,