mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-12-04 18:17:16 +01:00
docs, logging: describe the enabled cut diagnostics and unknown outcomes
This commit is contained in:
1 parent
d866004634
commit
ba933ec0c8
1 file changed
+6
-4
@@ -21,9 +21,9 @@ that runs it.
|
||||
|
||||
`blockmaster` and `blockvolume` accept `--log-level info|debug` (default
|
||||
`info`). For the CLI, put the global flag before the subcommand:
|
||||
`sw-block --log-level debug ops workspace show ...`. This switch configures the
|
||||
DEBUG filter; additional cut diagnostics follow separately. Ordinary logs and
|
||||
every acknowledged HEAD write remain visible at INFO.
|
||||
`sw-block --log-level debug ops workspace show ...`. DEBUG adds per-cut phase
|
||||
diagnostics. Ordinary logs and every acknowledged HEAD write remain visible
|
||||
at INFO.
|
||||
An unsupported level is refused before the command runs.
|
||||
|
||||
Standard log timestamps are UTC with six fractional digits, for example
|
||||
@@ -31,7 +31,9 @@ Standard log timestamps are UTC with six fractional digits, for example
|
||||
their existing formats. A HEAD-write line identifies `head_write`, volume,
|
||||
generation, session, resulting HEAD facts and elapsed milliseconds. Begin and
|
||||
commit are separate lines with the same session; errors do not claim a
|
||||
successful write. Log timestamps are observations, not authority or ordering
|
||||
successful write. An ambiguous store answer emits WARN `outcome=unknown` with
|
||||
the expected generation: it describes an attempt, never proof of persistence.
|
||||
Log timestamps are observations, not authority or ordering
|
||||
proofs: use the generation and session fields to correlate writes.
|
||||
|
||||
At debug, each cut attempt reports `storage: cut phases`: `candidates_ms`
|
||||
|
||||
Reference in new issue
Block a user