[erlang-questions] Growing LATEST.LOG

Joel Reymont <>
Mon Apr 28 23:59:00 CEST 2008


Folks,

I hacked Mnesia to save to Amazon S3 a while ago
and just found out that LATEST.LOG keeps growing
when data is written to my s3_copies table.

The log looks like this and consists of 657 entries.

{{continuation,<0.35.0>,65510,116},
  [{log_header,trans_log,
               "4.3",
               "4.3.5",
               '',
               {1209,323599,650325}},
   {decision,{tid,116,<5290.105.0>},unclear,[],[' 
']},
   {decision,{tid,116,<5290.105.0>},committed,[],[]},
   {decision,{tid,117,<5290.105.0>},unclear,[],[' 
']},
   {decision,{tid,117,<5290.105.0>},committed,[],[]},
   {decision,{tid,118,<5290.105.0>},unclear,[],[' 
']},
   {decision,{tid,118,<5290.105.0>},committed,[],[]},
...

Any obvious things that I may have missed in my
s3_copies implementation that prevent the log
from shrinking?

	Thanks, Joel

--
wagerlabs.com








More information about the erlang-questions mailing list