Skip to content

Commit

Permalink
Remove debug log
Browse files Browse the repository at this point in the history
Signed-off-by: Xuanwo <github@xuanwo.io>
  • Loading branch information
Xuanwo committed Oct 5, 2022
1 parent 1954c17 commit 4d25a35
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/services/kv/backend.rs
Expand Up @@ -31,7 +31,6 @@ use futures::AsyncRead;
use futures::AsyncReadExt;
use futures::Future;
use futures::Stream;
use log::debug;
use log::info;
use pin_project::pin_project;
use serde::Deserialize;
Expand Down Expand Up @@ -292,8 +291,6 @@ impl<S: KeyValueAccessor> Backend<S> {

/// Get the inode of an entry by parent, and it's name.
async fn get_entry(&self, parent: u64, name: &str) -> Result<u64> {
debug!("access entry parent: {}, name: {}", parent, name);

let key = ScopedKey::entry(parent, name);
let bs = self.kv.get(&key.encode()).await?;
match bs {
Expand Down Expand Up @@ -564,8 +561,6 @@ impl<S: KeyValueAccessor> BlockReader<S> {
version: u64,
blocks: Vec<(u64, usize, usize)>,
) -> Self {
debug!("reading block: {:?}", blocks);

Self {
backend,
ino,
Expand Down Expand Up @@ -600,7 +595,6 @@ where
None => match this.blocks.next() {
None => return Poll::Ready(Ok(0)),
Some((block, offset, size)) => {
debug!("reset future: block {block}, offset {offset}, size {size}");
let backend = this.backend.clone();
let ino = *this.ino;
let version = *this.version;
Expand Down

1 comment on commit 4d25a35

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for opendal ready!

✅ Preview
https://opendal-l7fwjo0s4-databend.vercel.app
https://opendal-git-implement-memory.vercel.app

Built with commit 4d25a35.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.