Reliability in 1.0 means the Server remains honest under partial failure. A missing provider, old Doris patch, denied system table, unhealthy FE, timeout, or oversized result must become a bounded typed state—not a fabricated empty success or an unbounded retry loop.
| Endpoint | Meaning | Should orchestrator restart? |
|---|---|---|
/live | process and protocol path are alive | only after repeated liveness failure |
/ready | Server can safely serve the configured Doris-backed path now | remove from traffic; diagnose route before restart |
/health | compatibility aggregate | use /live and /ready for precise automation |
A /live 200 with /ready 503 commonly indicates Doris connectivity, credentials, route, or initialization state—not a dead MCP process.
The connection manager maintains canonical route identities for global, static-token-bound, and Doris OAuth user pools. It enforces:
Capability probes use independent route-aware connection contexts so one unsupported version-specific statement does not poison later evidence. A failed probe releases its connection to avoid starving a single-connection route.
Capability snapshots are cached per route with a bounded TTL. Singleflight coalesces concurrent probes. Provider and route generations are included in the manifest fingerprint.
The detector distinguishes:
An unknown/mixed base state fails closed when a safe variant cannot be chosen. A configured stale fallback is time-bounded and marked stale. It cannot hide a provider generation change or turn missing evidence into support.
| Boundary | Mechanism |
|---|---|
| top-level Host context | hard serialized tools/list budget |
| domain discovery | child count, description, schema, enum, and manifest byte budgets |
| protocol lists | stable page size plus signed cursor |
| input/output schemas | node/depth/size/reference budgets |
| tool arguments | compiled JSON Schema and operation-specific limits |
| SQL | one read-only statement, timeout, rows, bytes, parameter bounds |
| metadata/search/governance | domain-specific row, field, depth, window, vector, and collection caps |
| HTTP/provider calls | allowlisted destination, timeout, response-size, and redirect policy |
| custom providers | schema checks and bounded process-local rate limits |
Truncation is explicit in result metadata and/or warnings. The Server does not return an apparently complete result after silently dropping data.
Domain calls distinguish:
Errors expose stable reason codes, bounded details, status class, and retryability where applicable. Credentials, raw SQL values, connection URLs, and backend exception text are not part of the public error contract.
Unexpected manager exceptions are logged internally and converted to a safe tool execution failure. List failures keep protocol error semantics rather than returning a successful empty list.
Some operations intentionally compose independent evidence. For example, get_table_context requires schema, while basic, comments, and indexes may be partial or unavailable. The result records per-section status, source, warnings, and overall partial state.
Partial success is allowed only when the contract identifies optional components. A missing required component remains a failure.
Fallback selection is deterministic and observable:
No fallback is described as native, and no numeric confidence is invented.
Every normalized child result includes bounded metadata such as request ID, duration, source, truncation, and warnings. Sanitized W3C trace context can connect MCP work to instrumented downstream spans.
Operators should monitor:
Logs must never contain bearer credentials, Doris passwords, raw private bindings, or model-facing sensitive query results.
MCP 2026-07-28 HTTP requests are stateless and do not require sticky sessions. Signed state handles can cross workers when they share the launch secret. Independent replicas require an explicitly shared secret and compatible policy/catalog state.
Limitations:
doris_admin is not registered./live and /ready separately.doris_cluster.get_runtime_capabilities when authorized.See Troubleshooting for symptom-specific procedures.