Each config has two fields for the NATS credentials: CredsFile (OCIS_NATS_CREDS_FILE;<SERVICE>_..._CREDS_FILE) and Creds (OCIS_NATS_CREDS;<SERVICE>_..._CREDS). envdecode sets each field on its own, and the content always won. Example: OCIS_NATS_CREDS set globally and GRAPH_CACHE_CREDS_FILE set for the service. The graph cache then used the global content and ignored the service file. The registry already used a different rule: the registry variables take precedence over the global variables. Use the registry rule everywhere. After envdecode decodes a struct, it resolves each CredsFile/Creds pair: when the file comes from a more specific environment variable than the content, the content is cleared. In the same scope the content still wins. A value from the config file has the lowest scope, because environment variables override the config file. Update the descriptions of the Creds fields, the nats README, and the changelog. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Storage-System
The Infinite Scale Storage-System service persists and caches user related data that is defined via Infinite Scale. This can be among other data role assignments, user settings and users shares.
Caching
The storage-system service caches file metadata via the configured store in STORAGE_SYSTEM_CACHE_STORE. Possible stores are:
memory: Basic in-memory store and the default.redis-sentinel: Stores data in a configured Redis Sentinel cluster.nats-js-kv: Stores data using key-value-store feature of nats jetstreamnoop: Stores nothing. Useful for testing. Not recommended in production environments.
Other store types may work but are not supported currently.
Note: The service can only be scaled if not using memory store and the stores are configured identically over all instances!
Note that if you have used one of the deprecated stores, you should reconfigure to one of the supported ones as the deprecated stores will be removed in a later version.
Store specific notes:
- When using
redis-sentinel, the Redis master to use is configured via e.g.OCIS_CACHE_STORE_NODESin the form of<sentinel-host>:<sentinel-port>/<redis-master>like10.10.0.200:26379/mymaster. - When using
nats-js-kvit is recommended to setOCIS_CACHE_STORE_NODESto the same value asOCIS_EVENTS_ENDPOINT. That way the cache uses the same nats instance as the event bus. - When using the
nats-js-kvstore, it is possible to setOCIS_CACHE_DISABLE_PERSISTENCEto instruct nats to not persist cache data on disc.