hello ! i have a question regarding AFR: when AFR changes trusted.glusterfs.version only on close() - how does glusterfs behave regarding re-sync if files are still open? let`s say, i put some mysql database on a glusterfs with AFR - now that database is online and one glusterfs node goes down - how can i make sure that data is resynced when the failed node comes up again (as mysql probably never closes the file descriptor to the datafiles and thus ). does AFR check for file`s mtime ? does only open() trigger the resync ? what happens if a resync is being triggered and while in resync, data is being written to that file ? the docs at http://www.gluster.org/docs/index.php/Understanding_AFR_Translator don`t tell about this in depth - so i`m just a little bit unsure how files getting synced if they typically never being opened or closed at runtime. regards roland _________________________________________________________________________ In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114
Roland, The document you mentioned is not valid anymore for 1.4 AFR. Vikas will soon post the new document. That will answer your questions. Your questions were infact not addressed in 1.3 but 1.4 takes care of those issues. Krishna On Sat, Oct 11, 2008 at 3:34 PM, <devzero at web.de> wrote:> hello ! > > i have a question regarding AFR: > > when AFR changes trusted.glusterfs.version only on close() - how does glusterfs behave regarding re-sync if files are still open? > > let`s say, i put some mysql database on a glusterfs with AFR - now that database is online and one glusterfs node goes down - how can i make sure that data is resynced when the failed node comes up again (as mysql probably never closes the file descriptor to the datafiles and thus ). > > does AFR check for file`s mtime ? > > does only open() trigger the resync ? > > what happens if a resync is being triggered and while in resync, data is being written to that file ? > > the docs at http://www.gluster.org/docs/index.php/Understanding_AFR_Translator don`t tell about this in depth - so i`m just a little bit unsure how files getting synced if they typically never being opened or closed at runtime. > > regards > roland > > > > > _________________________________________________________________________ > In 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! > Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114 > > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://zresearch.com/cgi-bin/mailman/listinfo/gluster-users >
czw, 11 gru 2008, 14:46:55 +0530, Krishna Srinivas napisa?(a):> The document you mentioned is not valid anymore for 1.4 AFR. Vikas > will soon post the new document. That will answer your questions.When can we expect this document, approximately. -- rash at konto pl
2008/12/11 Rash <rash at konto.pl>:> czw, 11 gru 2008, 14:46:55 +0530, Krishna Srinivas napisa?(a): >> The document you mentioned is not valid anymore for 1.4 AFR. Vikas >> will soon post the new document. That will answer your questions. > > When can we expect this document, approximately.It is already in the repository; look at doc/afr.pdf. We are internally reviewing the document and I will post a message to the mailing list once the review is done. Vikas -- Engineer - Z Research http://gluster.com/
czw, 11 gru 2008, 16:31:15 +0530, Vikas Gorur napisa?(a):> 2008/12/11 Rash <rash at konto.pl>: > > czw, 11 gru 2008, 14:46:55 +0530, Krishna Srinivas napisa?(a): > >> The document you mentioned is not valid anymore for 1.4 AFR. Vikas > >> will soon post the new document. That will answer your questions. > > When can we expect this document, approximately. > It is already in the repository; look at doc/afr.pdf. We are > internally reviewing the document and I will post a message to the > mailing list once the review is done.Thanks a lot, but can you make it available: $ wget www.glusterfs.org/doc/afr.pdf --2008-12-11 12:24:15-- http://www.glusterfs.org/doc/afr.pdf Resolving www.glusterfs.org... 64.71.144.162 Connecting to www.glusterfs.org|64.71.144.162|:80... connected. HTTP request sent, awaiting response... 403 Forbidden 2008-12-11 12:24:16 ERROR 403: Forbidden. -- rash at konto pl