diff --git a/quickwit/quickwit-ingest/src/errors.rs b/quickwit/quickwit-ingest/src/errors.rs index 40a1aeceb09..94c660c2aed 100644 --- a/quickwit/quickwit-ingest/src/errors.rs +++ b/quickwit/quickwit-ingest/src/errors.rs @@ -41,7 +41,7 @@ pub enum IngestServiceError { IoError(String), #[error("rate limited")] RateLimited, - #[error("the ingest service is unavailable")] + #[error("ingest service is unavailable")] Unavailable, } diff --git a/quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs b/quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs index 42372cc2c2e..d32022d47c0 100644 --- a/quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs +++ b/quickwit/quickwit-ingest/src/ingest_v2/mrecordlog_utils.rs @@ -38,8 +38,7 @@ pub(super) struct MemoryUsage(ByteSize); #[derive(Debug, Clone, Copy, thiserror::Error)] pub(super) enum NotEnoughCapacityError { #[error( - "write-ahead log is full, capacity: usage: {usage}, capacity: {capacity}, requested: \ - {requested}" + "write-ahead log is full, capacity: {capacity}, usage: {usage}, requested: {requested}" )] Disk { usage: ByteSize, @@ -47,7 +46,7 @@ pub(super) enum NotEnoughCapacityError { requested: ByteSize, }, #[error( - "write-ahead log memory buffer is full, usage: {usage}, capacity: {capacity}, requested: \ + "write-ahead log memory buffer is full: capacity: {capacity}, usage: {usage}, requested: \ {requested}" )] Memory { diff --git a/quickwit/quickwit-proto/src/indexing/mod.rs b/quickwit/quickwit-proto/src/indexing/mod.rs index 3a10f336aa7..3019c982f12 100644 --- a/quickwit/quickwit-proto/src/indexing/mod.rs +++ b/quickwit/quickwit-proto/src/indexing/mod.rs @@ -63,7 +63,7 @@ pub enum IndexingError { StorageResolverError(String), #[error("an internal error occurred: {0}")] Internal(String), - #[error("the ingest service is unavailable")] + #[error("indexing service is unavailable")] Unavailable, }