docs: fix incomplete comment

pull/24376/head
Dom Dwyer 2022-12-20 12:28:11 +01:00
parent adc6fcfb04
commit 2f88fc71ce
No known key found for this signature in database
GPG Key ID: E4C40DBD9157879A
1 changed files with 3 additions and 2 deletions

View File

@ -454,7 +454,7 @@ pub trait PartitionRepo: Send + Sync {
async fn list_by_table_id(&mut self, table_id: TableId) -> Result<Vec<Partition>>;
/// Update the sort key for the partition, setting it to `new_sort_key` iff
/// the current value matches `old_sort_key`. Returns
/// the current value matches `old_sort_key`.
///
/// NOTE: it is expected that ONLY the ingesters update sort keys for
/// existing partitions.
@ -462,7 +462,8 @@ pub trait PartitionRepo: Send + Sync {
/// # Spurious failure
///
/// Implementations are allowed to spuriously return
/// [`CasFailure::ValueMismatch`] for performance reasons.
/// [`CasFailure::ValueMismatch`] for performance reasons in the presence of
/// concurrent writers.
async fn cas_sort_key(
&mut self,
partition_id: PartitionId,