/// Creates object store path for given transaction.
///
/// The format is:
///
/// ```text
/// <server_id>/<db_name>/transactions/<revision_counter>/<uuid>.txn
/// ```
Creates object store path for given transaction.
The format is.


Creates object store path for given transaction . The format is .
fn transaction_path(
    object_store: &ObjectStore,
    server_id: ServerId,
    db_name: &str,
    tkey: &TransactionKey,
) -> Path {
    let mut path = transactions_path(object_store, server_id, db_name);
    // pad number: `u64::MAX.to_string().len()` is 20
    path.push_dir(format!("{:0>20}", tkey.revision_counter));
    let file_name = format!("{}.{}", tkey.uuid, TRANSACTION_FILE_SUFFIX);
    path.set_file_name(file_name);
    path
}
fn transaction_path ( object_store : & ObjectStore , server_id : ServerId , db_name : & str , tkey : & TransactionKey , ) -> Path { let mut path = transactions_path ( object_store , server_id , db_name ) ; // pad number: `u64::MAX.to_string().len()` is 20 path . push_dir ( format ! ( " " tkey revision_counter ) ) ; let file_name = format ! ( " " tkey uuid TRANSACTION_FILE_SUFFIX ) ; path . set_file_name ( file_name ) ; path }
Creates object store path for given transaction.
Creates object store path for given transaction .
object_store
&ObjectStore
server_id
ServerId
db_name
&str
tkey
&TransactionKey