๐ต๏ธ Investigating a dataset with scout¶
Usage: datatrail scout [OPTIONS] [SCOPES]... DATASET
Scout a dataset.
Options:
-v, --verbose Verbosity: v=INFO, vv=DEBUG.
-q, --quiet Set log level to ERROR.
--help Show this message and exit.
Overview¶
The purpose of this function is the give users easy visibility into the current situation for a given dataset across all of Datatrail's storage elements. The number of datasets that information is given for depends on the number of scopes that the given dataset name has registered. However, this can be filtered by providing a list of scopes to the command.
Usage¶
Below is an example of the output for the dataset named 382085503
, both
filtered to only show information for the chime.event.baseband.raw
scope
and unfiltered.
Note
The output below does not show the correct colouring. The rows of the table are colour-coded to indicate if it is observed or expected. Observed values are displayed in blue and expected values are in yellow.
โฏ datatrail scout chime.event.baseband.raw 382085503
Scout Results for 382085503
โโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโณโโโโโโโโโโโโโโโโโโณโโโโโโณโโโโโโณโโโโโโณโโโโโโโโ
โ Scope โ chime โ baseband_buffer โ kko โ gbo โ hco โ minoc โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ chime.event.baseband.raw โ 824 โ 0 โ 0 โ -1 โ -1 โ 824 โ # (1)!
โ chime.event.baseband.raw โ 824 โ 0 โ 0 โ 0 โ 0 โ 824 โ # (2)!
โโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโดโโโโโโโโโโโโโโโโโโดโโโโโโดโโโโโโดโโโโโโดโโโโโโโโ
Legend: Observed, Expected
NOTE: In the case where more files are expected at a site other than minoc, that
this may be due to the file type filtering when querying each site. This is a
known limitation of the current implementation.
- The Observed number of files.
- The Expected number of files.
โฏ datatrail scout 382085503
Scout Results for 382085503
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโณโโโโโโโโโโโโโโโโโโณโโโโโโณโโโโโโโณโโโโโโณโโโโโโโโ
โ Scope โ chime โ baseband_buffer โ kko โ gbo โ hco โ minoc โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ chime.event.baseband.raw โ 824 โ 0 โ 0 โ -1 โ -1 โ 824 โ
โ chime.event.baseband.raw โ 824 โ 0 โ 0 โ 0 โ 0 โ 824 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโผโโโโโโโโโโโโโโโโโโผโโโโโโผโโโโโโโผโโโโโโผโโโโโโโโค
โ chime.event.intensity.raw โ 162 โ 0 โ 0 โ -1 โ -1 โ 164 โ
โ chime.event.intensity.raw โ 164 โ 0 โ 0 โ 0 โ 0 โ 164 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโผโโโโโโโโโโโโโโโโโโผโโโโโโผโโโโโโโผโโโโโโผโโโโโโโโค
โ gbo.event.baseband.raw โ 0 โ 0 โ 0 โ -1 โ -1 โ 1024 โ
โ gbo.event.baseband.raw โ 0 โ 0 โ 0 โ 1024 โ 0 โ 1024 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโดโโโโโโโโโโโโโโโโโโดโโโโโโดโโโโโโโดโโโโโโดโโโโโโโโ
Legend: Observed, Expected
NOTE: In the case where more files are expected at a site other than minoc, that this may
be due to the file type filtering when querying each site. This is a known limitation of
the current implementation.
Negative files
If the server encounters an error it is represented as a negative number. Which can occur when communicating with the mini-servers running at each storage element.
Healing at Minoc¶
In some cases, the number of files expected at minoc may be less than the number
that actually exist there. This can occur when API requests drop, leading to an
inconsistent state in the database. When this is seen by scout
, the command
offers to remedy the situation by adding the missing replicas.
โฏ datatrail scout chime.event.baseband.raw 383577603
Scout Results for 383577603
โโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโณโโโโโโโโโโโโโโโโโโณโโโโโโณโโโโโโณโโโโโโณโโโโโโโโ
โ Scope โ chime โ baseband_buffer โ kko โ gbo โ hco โ minoc โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ chime.event.baseband.raw โ 702 โ 0 โ 0 โ -1 โ -1 โ 702 โ
โ chime.event.baseband.raw โ 702 โ 0 โ 0 โ 0 โ 0 โ 699 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโดโโโโโโโโโโโโโโโโโโดโโโโโโดโโโโโโดโโโโโโดโโโโโโโโ
Legend: Observed, Expected
NOTE: In the case where more files are expected at a site other than minoc, that this may
be due to the file type filtering when querying each site. This is a known limitation of
the current implementation.
Scopes with minoc discrepancy:
- chime.event.baseband.raw
Would you like to attempt to heal this discrepancy? [y/n]: y
chime.event.baseband.raw - Healing successful.