Add comment for NotLoaded TenentState

This commit is contained in:
Konstantin Knizhnik
2023-06-30 15:14:34 +03:00
parent f5e0a63041
commit 4015f5d952

View File

@@ -54,7 +54,8 @@ use bytes::{BufMut, Bytes, BytesMut};
)]
#[serde(tag = "slug", content = "data")]
pub enum TenantState {
/// This tenant is not yet loaded
/// This tenant is not yet loaded. This state is not actually used internally because not loaded tenants are handled using OnceSet.
/// This value is needed only for reporting state of such tenants by list_tenants() function
///
NotLoaded,
/// This tenant is being loaded from local disk.