remove debug info in request_metadata.c

pull/6/head
YuQing 2023-05-18 20:20:27 +08:00
parent 5786b0383f
commit 0989cc02fe
1 changed files with 0 additions and 6 deletions

View File

@ -39,7 +39,6 @@ static void process_master_side(IdempotencyRequestMetadataContext *ctx)
{
struct fast_mblock_chain chain;
struct fast_mblock_node *node;
int count = 0;
chain.head = chain.tail = NULL;
PTHREAD_MUTEX_LOCK(&ctx->lock);
@ -53,7 +52,6 @@ static void process_master_side(IdempotencyRequestMetadataContext *ctx)
}
chain.tail = node;
++count;
ctx->list.head = ctx->list.head->next;
} while (CHECK_MASTER_METADATA(ctx->list.head));
@ -67,10 +65,6 @@ static void process_master_side(IdempotencyRequestMetadataContext *ctx)
fast_mblock_batch_free(&ctx->allocator, &chain);
}
PTHREAD_MUTEX_UNLOCK(&ctx->lock);
if (count > 0) {
logInfo("#######func: %s, deal count: %d", __FUNCTION__, count);
}
}
#define CHECK_SLAVE_METADATA(meta, dv) \