uploadSnapshot
abstract suspend fun uploadSnapshot(name: String, data: Flow<ByteArray>, priority: SnapshotPriority? = null, checksum: String? = null, wait: Boolean = true)
Upload a snapshot file (streamed from data) and recover collection name from it.
Parameters
priority
which data wins if the collection has replicas (see SnapshotPriority).
checksum
optional SHA-256 checksum verified before recovery.