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 belowOverview
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
| Key | Type | Default | Description |
|---|---|---|---|
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_secret | string | shared jwt_secret | JWTSecret signs the token the jobs authenticate their own calls with. Falls back to [shared]. source |
service_user_name | string | - | 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_uid | int64 | - | ServiceUserUID and ServiceUserGID are that account’s ids. The EOS driver refuses a caller without them, so neither may be zero. source |
service_user_gid | int64 | - | source |
share_driver | string | "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_drivers | map[string]map[string]any | - | source |
publicshare_driver | string | "sql" | source |
publicshare_drivers | map[string]map[string]any | - | source |
orphan | reconciliation.Config | - | Orphan configures the orphan job. source |
shallow | reconciliation.Config | - | Shallow configures the shallow job. source |
expired | reconciliation.Config | - | source |