mirror of
https://github.com/hasura/graphql-engine.git
synced 2025-01-05 22:34:22 +03:00
server: add another log line for metadata sync
PR-URL: https://github.com/hasura/graphql-engine-mono/pull/7102 GitOrigin-RevId: 0b18d4a07470c0c785db1b250d6d9c5e2b65676c
This commit is contained in:
parent
29e3a0eb1b
commit
b1cb73e964
@ -401,6 +401,10 @@ runMetadataQuery env logger instanceId userInfo httpManager serverConfigCtx sche
|
|||||||
then case (_sccMaintenanceMode serverConfigCtx, _sccReadOnlyMode serverConfigCtx) of
|
then case (_sccMaintenanceMode serverConfigCtx, _sccReadOnlyMode serverConfigCtx) of
|
||||||
(MaintenanceModeDisabled, ReadOnlyModeDisabled) -> do
|
(MaintenanceModeDisabled, ReadOnlyModeDisabled) -> do
|
||||||
-- set modified metadata in storage
|
-- set modified metadata in storage
|
||||||
|
L.unLogger logger $
|
||||||
|
SchemaSyncLog L.LevelInfo TTMetadataApi $
|
||||||
|
String $
|
||||||
|
"Attempting to put new metadata in storage"
|
||||||
newResourceVersion <-
|
newResourceVersion <-
|
||||||
Tracing.trace "setMetadata" $
|
Tracing.trace "setMetadata" $
|
||||||
setMetadata (fromMaybe currentResourceVersion _rqlMetadataResourceVersion) modMetadata
|
setMetadata (fromMaybe currentResourceVersion _rqlMetadataResourceVersion) modMetadata
|
||||||
|
Loading…
Reference in New Issue
Block a user