reconciliation

Hosts the share reconciliation jobs as a serverless service.

Package
github.com/cs3org/reva/v3/internal/serverless/services/reconciliation
Source
internal/serverless/services/reconciliation · Go reference

Enable it

Add this table to the revad configuration file:

[serverless.services.reconciliation]
# settings below

Overview

Package reconciliation hosts the share reconciliation jobs as a serverless service. The jobs span the share and the public link manager, which belong to two different grpc services, so they are wired here instead of in either of them.

Configuration

KeyTypeDefaultDescription
jobs[]string-Jobs are the jobs to run, by name. Each one is configured in its own section, so enabling a job means listing it here and giving it a schedule. source
jwt_secretstringshared jwt_secretJWTSecret signs the token the jobs authenticate their own calls with. Falls back to [shared]. source
service_user_namestring-ServiceUserName is the account the jobs act as. It has to be known to the storage: the EOS driver reads the ACLs of a node as the caller before it hands them out. source
service_user_uidint64-ServiceUserUID and ServiceUserGID are that account’s ids. The EOS driver refuses a caller without them, so neither may be zero. source
service_user_gidint64-source
share_driverstring"sql"ShareDriver and PublicShareDriver name the managers the jobs reconcile, the same drivers the usershareprovider and the publicshareprovider run on. Their configuration falls back to [shared], so it normally does not have to be repeated here. source
share_driversmap[string]map[string]any-source
publicshare_driverstring"sql"source
publicshare_driversmap[string]map[string]any-source
orphanreconciliation.Config-Orphan configures the orphan job. source
shallowreconciliation.Config-Shallow configures the shallow job. source
expiredreconciliation.Config-source