mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-20 00:30:49 +00:00
Minor changes found reviewing to remove the draft status
This commit is contained in:
parent
4c38f9fb34
commit
6a95f19958
@ -3,7 +3,7 @@ slug: /en/operations/system-tables/error_log
|
||||
---
|
||||
# error_log
|
||||
|
||||
Contains history of error values from tables `system.errors`, periodically flushed to disk.
|
||||
Contains history of error values from table `system.errors`, periodically flushed to disk.
|
||||
|
||||
Columns:
|
||||
- `hostname` ([LowCardinality(String)](../../sql-reference/data-types/string.md)) — Hostname of the server executing the query.
|
||||
|
@ -626,6 +626,7 @@ namespace ErrorCodes
|
||||
APPLY_FOR_ERROR_CODES(M)
|
||||
#undef M
|
||||
|
||||
constexpr ErrorCode END = 1002;
|
||||
ErrorPairHolder values[END + 1]{};
|
||||
|
||||
struct ErrorCodesNames
|
||||
|
@ -18,7 +18,6 @@ namespace ErrorCodes
|
||||
{
|
||||
/// ErrorCode identifier (index in array).
|
||||
using ErrorCode = int;
|
||||
constexpr ErrorCode END = 1002;
|
||||
using Value = size_t;
|
||||
using FramePointers = std::vector<void *>;
|
||||
|
||||
@ -34,7 +33,7 @@ namespace ErrorCodes
|
||||
|
||||
struct Error
|
||||
{
|
||||
/// Number of times Exception with this ErrorCode had been thrown.
|
||||
/// Number of times Exception with this ErrorCode has been thrown.
|
||||
Value count = 0;
|
||||
/// Time of the last error.
|
||||
UInt64 error_time_ms = 0;
|
||||
|
@ -41,7 +41,7 @@ public:
|
||||
/// Launches a background thread to collect errors with interval
|
||||
void startCollectError(size_t collect_interval_milliseconds_);
|
||||
|
||||
/// Stop background thread. Call before shutdown.
|
||||
/// Stop background thread
|
||||
void stopCollectError();
|
||||
|
||||
private:
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
/// Launches a background thread to collect metrics with interval
|
||||
void startCollectMetric(size_t collect_interval_milliseconds_);
|
||||
|
||||
/// Stop background thread. Call before shutdown.
|
||||
/// Stop background thread
|
||||
void stopCollectMetric();
|
||||
|
||||
private:
|
||||
|
Loading…
Reference in New Issue
Block a user