Skip to content

Commit

Permalink
Merge pull request #283 from yvxiang/fix_log
Browse files Browse the repository at this point in the history
Fix log
  • Loading branch information
bluebore committed May 19, 2016
2 parents 157a61e + 2c43794 commit 3c4d62c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/sdk/bfs.cc
Original file line number Diff line number Diff line change
Expand Up @@ -610,8 +610,8 @@ int32_t BfsFileImpl::Pread(char* buf, int32_t read_len, int64_t offset, bool rea
if (located_blocks_.blocks_.empty()) {
return 0;
} else if (located_blocks_.blocks_[0].chains_size() == 0) {
LOG(WARNING, "No located servers or located_blocks_[%lu]",
located_blocks_.blocks_.size());
LOG(WARNING, "No located chunkserver of block #%ld",
located_blocks_.blocks_[0].block_id());
return -3;
}
lcblock.CopyFrom(located_blocks_.blocks_[0]);
Expand Down

0 comments on commit 3c4d62c

Please sign in to comment.