docs(link): sidecar never reads shard files; everything goes over the bridge
Records the contract decided for servuo-plugins#41: the shard reads its own data and client files and serves them as bridge messages; the sidecar reads only its own config and database. The sidecar's service user therefore needs no access to the shard tree, and a private shard root (drwxr-x---) is the intended state on Linux. - link/PLAN.md §2: new non-negotiable rule - installer/INSTALL.md: prereq row + A4 note that runicgateway needs nothing under the shard directory Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014HJEmd5sBSpNXicS4gmT1t
This commit is contained in:
@@ -57,6 +57,7 @@ Non-negotiable rules, all of which the measurements support:
|
||||
- **Inbound commands marshal back via `Timer.DelayCall(TimeSpan.Zero, ...)`**, which is lock-protected and cross-thread safe (`Server/Timer.cs:243-251`). The read thread touches no `World`/`Mobile`/`Item` API.
|
||||
- **Bound the outbound queue** (drop-oldest + a dropped counter). A stalled sidecar must never OOM the shard.
|
||||
- **Never block or throw inside an EventSink handler.** Several are veto hooks sitting in a transaction path.
|
||||
- **Everything goes over the bridge; the sidecar never reads shard files.** The shard (as the account ServUO runs as) reads its own data and client files — `DataPath.cfg`, `Cliloc.enu`, `art*.mul`, saves — and serves anything the website needs as a bridge message (`cliloc.table`, the asset families). The sidecar reads only its own config and database. So the sidecar's service user needs **no** access to the shard tree, and on Linux it normally has none: a `drwxr-x--- servuo servuo` shard root is the intended state, not a gap to grant around. A feature that seems to need a shard file in the sidecar is a new command or event instead.
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user