[sheepdog] [PATCH] tests/010: fix wrong output
MORITA Kazutaka
morita.kazutaka at lab.ntt.co.jp
Tue Sep 18 12:43:55 CEST 2012
At Tue, 18 Sep 2012 17:22:55 +0800,
Liu Yuan wrote:
>
> From: Liu Yuan <tailai.ly at taobao.com>
>
> For object indexed 6, its localtion track is:
>
> yliu at yliu:~/sheepdog/tests$ collie vdi track -i 6 test
> Tracking the object 0x7c2b2500000006 (the inode vid 0x7c2b25 idx 6) with 8 nodes
>
> obj 7c2b2500000006 locations at epoch 1, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7004
> 127.0.0.1:7003
> 127.0.0.1:7002
>
> obj 7c2b2500000006 locations at epoch 2, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7004
> 127.0.0.1:7002
> 127.0.0.1:7000
>
> obj 7c2b2500000006 locations at epoch 3, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7002
> 127.0.0.1:7000
> 127.0.0.1:7001
>
> obj 7c2b2500000006 locations at epoch 4, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7003
> 127.0.0.1:7002
> 127.0.0.1:7000
>
> obj 7c2b2500000006 locations at epoch 5, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7004
> 127.0.0.1:7003
> 127.0.0.1:7002
>
> obj 7c2b2500000006 locations at epoch 6, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7004
> 127.0.0.1:7007
> 127.0.0.1:7003
>
> obj 7c2b2500000006 locations at epoch 7, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7000
> 127.0.0.1:7004
> 127.0.0.1:7007
>
> obj 7c2b2500000006 locations at epoch 8, copies = 3
> ---------------------------------------------------
> 127.0.0.1:7005
> 127.0.0.1:7000
> 127.0.0.1:7004
>
> Signed-off-by: Liu Yuan <tailai.ly at taobao.com>
> ---
> tests/010.out | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
On my environment, the output of vdi track is as follows and 010.out
looks correct. Can you give me 'cluster info' and 'node list'
outputs, too?
==
$ ./collie/collie vdi track -i 6 test
Tracking the object 0x7c2b2500000006 (the inode vid 0x7c2b25 idx 6) with 8 nodes
obj 7c2b2500000006 locations at epoch 1, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7003
127.0.0.1:7002
obj 7c2b2500000006 locations at epoch 2, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7002
127.0.0.1:7000
obj 7c2b2500000006 locations at epoch 3, copies = 3
---------------------------------------------------
127.0.0.1:7002
127.0.0.1:7000
127.0.0.1:7001
obj 7c2b2500000006 locations at epoch 4, copies = 3
---------------------------------------------------
127.0.0.1:7003
127.0.0.1:7002
127.0.0.1:7000
obj 7c2b2500000006 locations at epoch 5, copies = 3
---------------------------------------------------
127.0.0.1:7004
127.0.0.1:7003
127.0.0.1:7002
obj 7c2b2500000006 locations at epoch 6, copies = 3
---------------------------------------------------
127.0.0.1:7005
127.0.0.1:7004
127.0.0.1:7003
obj 7c2b2500000006 locations at epoch 7, copies = 3
---------------------------------------------------
127.0.0.1:7005
127.0.0.1:7004
127.0.0.1:7006
obj 7c2b2500000006 locations at epoch 8, copies = 3
---------------------------------------------------
127.0.0.1:7005
127.0.0.1:7004
127.0.0.1:7007
More information about the sheepdog
mailing list