Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[feat]curvefs/client: add check in cache #2888

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Cyber-SiKu
Copy link
Contributor

  1. check disk cache is work
  2. check kv cache is work
  3. add tools-v2

What problem does this PR solve?

Issue Number: #xxx

Problem Summary:

What is changed and how it works?

What's Changed:

How it Works:

Side effects(Breaking backward compatibility? Performance regression?):

Check List

  • Relevant documentation/comments is changed or added
  • I acknowledge that all my contributions will be made under the project's license

@Cyber-SiKu
Copy link
Contributor Author

  1. warmup file to memcache
 curve fs warmup add  ~/test/mnt/mnt-1/10gb.file --storage mem -d
Warmup 10gb.file... 100% [==============================================] (4825/4825, 32 it/s) 
  1. check
curve fs warmup check ~/test/mnt/mnt-1/10gb.file --storage mem  

image

  1. delete some object form memcached
telnet 10.182.2.48 11211                                          
Trying 10.182.2.48...
Connected to 10.182.2.48.
Escape character is '^]'.
get 1_3145728_98_12_0
END
get 1_3145728_353_6_0 
VALUE 1_3145728_353_6_0 0 4194304

END
delete 1_3145728_353_6_0
DELETED
get 1_3145728_352_6_0
END
get 1_3145728_293_7_0 
END
get 1_3145728_88_5_0
VALUE 1_3145728_88_5_0 0 4194304

END
delete 1_3145728_88_5_0 
DELETED
^]

telnet> Connection closed.
  1. check
curve fs warmup check ~/test/mnt/mnt-1/10gb.file --storage mem

image

@Cyber-SiKu
Copy link
Contributor Author

cicheck

1 similar comment
@Cyber-SiKu
Copy link
Contributor Author

cicheck

@Cyber-SiKu
Copy link
Contributor Author

cicheck

2 similar comments
@Cyber-SiKu
Copy link
Contributor Author

cicheck

@Cyber-SiKu
Copy link
Contributor Author

cicheck

1. check disk cache is work
2. check kv cache is work
3. add tools-v2

Signed-off-by: Cyber-SiKu <Cyber-SiKu@outlook.com>
@Cyber-SiKu
Copy link
Contributor Author

cicheck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant