[chord] what is in the DBs

Emil Sit sit at MIT.EDU
Mon Jan 8 11:38:45 EST 2007


On Mon, 08 January 2007 at 19:38 (+0800), zkfzle wrote:
> In the filestore process, I met with some database operation.What
> infomation was stored to the following DB?

...the file and relevant meta-data is stored into databases
on different nodes.

>   for example,
> lsd: opened /tmp/db-sock with space 69a7fa515e020e960d7744c02b198a36455839c1.c
> lsd: opened /tmp/db-sock with space 69a7fa515e020e960d7744c02b198a36455839c1.k (hasaux)
> lsd: opened /tmp/db-sock with space 69a7fa515e020e960d7744c02b198a36455839c1.n (hasaux)

lsd communicates with adbd over a unix domain socket (/tmp/db-sock).
It creates a namespace per vnode-contenttype pair.  There are
three content types currently:
1. c: content-hash where the id is the hash of the content
2. k: public-key where the id is (roughly) the hash of a public key
3. n: "no auth" where the id is user specified.

filestore only uses content-hash blocks.

-- 
Emil Sit / MIT CSAIL PDOS / http://pdos.csail.mit.edu/chord/  



More information about the chord mailing list