Skip to content

Commit

Permalink
fix(internal-queue-adapter): temporary do not commit msgs to queue
Browse files Browse the repository at this point in the history
  • Loading branch information
SmaGMan committed Jun 7, 2024
1 parent c47a561 commit caae584
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions collator/src/queue_adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ impl MessageQueueAdapter for MessageQueueAdapterStdImpl {
target: tracing_targets::MQ_ADAPTER,
"Committing diff to the queue"
);
let diff = self.queue.commit_diff(diff_id).await?;
// HACK: do not commit diff to avoid incorrect msgs set reading for collation
// let diff = self.queue.commit_diff(diff_id).await?;
let diff = None;
Ok(diff)
}

Expand All @@ -136,7 +138,7 @@ impl MessageQueueAdapter for MessageQueueAdapterStdImpl {
iterator: &mut Box<dyn QueueIterator>,
messages: Vec<(MsgInfo, Cell)>,
) -> Result<()> {
tracing::debug!(
tracing::trace!(
target: tracing_targets::MQ_ADAPTER,
messages_len = messages.len(),
"Adding messages to the iterator"
Expand Down

0 comments on commit caae584

Please sign in to comment.