Replication Craziness

mischa z mischa.z at gmail.com
Thu Jun 21 14:17:26 UTC 2007


Hi, I will try to answer this since Russ is not in the office at the moment.

How big/small are these files?


  4MB in average

Anything interesting/noisy in the
> mogilefsd error logs?


Looks all good. Occasional there are timeouts:
" :: [monitor(11947)] Timeout contacting machine 10.0.10.24 for dev 47:
took 2.00 seconds out of 2 allowed"

Does the mogilefs-server "make test" pass for you?


"All tests successful, 3 tests skipped."
On the nodes the test skips the Db tests and it complains about not finding
the mogadm executable. Nothing crucial I guess.

Which MySQL server version?


 mysql> SELECT version();
+------------+
| version()  |
+------------+
| 5.0.37-log |
+------------+

Cheers,
Mischa

On Wed, 20 Jun 2007, Russell Garrett wrote:
>
> > OK, so I totally wiped the file_to_replicate table. We have 3 nodes
> > online with sufficient space. I start the replicate thread and this
> happens:
> >
> > mysql> select * from file_on where fid = 2534860;
> > +---------+-------+
> > | fid     | devid |
> > +---------+-------+
> > | 2534860 |    54 |
> > | 2534860 |    64 |
> > | 2534860 |    73 |
> > | 2534860 |    74 |
> > +---------+-------+
> > 4 rows in set (0.00 sec)
> >
> > ...30 seconds later:
> >
> > mysql> select * from file_on where fid = 2534860;
> > +---------+-------+
> > | fid     | devid |
> > +---------+-------+
> > | 2534860 |    54 |
> > | 2534860 |    55 |
> > | 2534860 |    56 |
> > | 2534860 |    57 |
> > | 2534860 |    58 |
> > | 2534860 |    59 |
> > | 2534860 |    60 |
> > | 2534860 |    61 |
> > | 2534860 |    62 |
> > | 2534860 |    63 |
> > | 2534860 |    64 |
> > | 2534860 |    65 |
> > | 2534860 |    66 |
> > | 2534860 |    67 |
> > | 2534860 |    68 |
> > | 2534860 |    69 |
> > | 2534860 |    70 |
> > | 2534860 |    71 |
> > | 2534860 |    72 |
> > | 2534860 |    73 |
> > | 2534860 |    74 |
> > | 2534860 |    75 |
> > | 2534860 |    76 |
> > | 2534860 |    77 |
> > | 2534860 |    78 |
> > | 2534860 |    79 |
> > +---------+-------+
> > 26 rows in set (0.00 sec)
> >
> >
> > Riddle me that one...
> >
> > Russ Garrett
> > Last.fm Ltd.
> > russ at last.fm
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/mogilefs/attachments/20070621/fd023e57/attachment-0001.html


More information about the mogilefs mailing list