Skip to content

Commit

Permalink
fix ci
Browse files Browse the repository at this point in the history
fix

fix

fix

fix

fix

fix
  • Loading branch information
xxhZs committed May 6, 2024
1 parent 3728162 commit 92fd979
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 8 deletions.
17 changes: 10 additions & 7 deletions src/meta/src/controller/catalog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -482,16 +482,19 @@ impl CatalogController {
.one(&txn)
.await?
.ok_or_else(|| MetaError::catalog_id_not_found("subscription", job_id))?;
txn.commit().await?;

let relations = vec![PbRelation {
relation_info: Some(PbRelationInfo::Subscription(
ObjectModel(subscription, obj.unwrap()).into(),
)),
}];
let version = self
.notify_frontend(
NotificationOperation::Add,
NotificationInfo::RelationGroup(PbRelationGroup { relations }),
Operation::Add,
Info::RelationGroup(PbRelationGroup {
relations: vec![PbRelation {
relation_info: PbRelationInfo::Subscription(
ObjectModel(subscription, obj.unwrap()).into(),
)
.into(),
}],
}),
)
.await;
Ok(version)
Expand Down
1 change: 0 additions & 1 deletion src/meta/src/manager/notification.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ impl NotificationManager {
info: Some(task.info),
version: task.version.unwrap_or_default(),
};

core.lock().await.notify(task.target, response);
}
});
Expand Down
1 change: 1 addition & 0 deletions src/storage/hummock_sdk/src/change_log.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ impl TableChangeLog {
.filter_epoch((min_epoch, u64::MAX))
.iter()
.flat_map(|epoch_change_log| epoch_change_log.epochs.clone())
.filter(|a| a >= &min_epoch)
.clone()
.collect();
let end = min(max_count, epochs.len());
Expand Down

0 comments on commit 92fd979

Please sign in to comment.