Zbr's days.
December
Sun Mon Tue Wed Thu Fri Sat
           
14
         
2007
Months
Dec

About :: TODO :: Blog :: RSS :: Old blog :: Projects :: GIT :: Gallery :: Notes

Fri, 14 Dec 2007

New mirroring module in the distributed storage.

$ git-diff-index --stat HEAD drivers/block/dst/alg_mirror.c
 drivers/block/dst/alg_mirror.c |  745 ++++++++++++++++++++--------------------
 1 files changed, 364 insertions(+), 381 deletions(-)
It is cool and works good in my environment, but (like previous) it forces total mirror resync after main storage node reboot or crash (if it is required, for example when array was not in sync already and main node rebooted).
I want to extend DST mirroring algorithm not to force full resync, but store a log of the writes on each node, so when new array starts, it would check not only age of the nodes (uique id stored at the end of each node, if it does not match, total resync starts), but also write log, so that the latter does not match, only selected number of regions would be synchronized.

Stay tuned...

/devel/dst :: Link / Comments (0)

Please solve this captcha to be allowed to post (need to reload in a minute): 70 * 65

Comments are closed for this story.