On Fri, Feb 19, 2010 at 7:25 AM, Dimuthu Gamage <[email protected]> wrote:

> On Fri, Feb 19, 2010 at 6:35 AM, Sanjiva Weerawarana <[email protected]>
> wrote:
> > On Thu, Feb 18, 2010 at 10:17 PM, Senaka Fernando <[email protected]>
> wrote:
> >>
> >> Will have a look into this. Need to have a look into how logs are
> written
> >> in registry.
> >
> > Logs shouldn't be written in the registry! Why are we doing that?
>
> This is the registry activity log, which is tracking the registry
> operation use.  I think the reason this was written to registry is to
> track the registry activities across nodes when BAM was not there.
> Since now we have BAM, we can probably outsource this task to BAM?.
>

Dimuthu,
I am not sure if this is the correct approach. AFAIK writing to the log was
considered part of the atomic operation.
eg:
In Registry.put(...), we write to RESOURCE table & then to LOG table.

/sumedha




>
> Thanks
> Dimuthu
> >
> > Sanjiva.
> > --
> > Sanjiva Weerawarana, Ph.D.
> > Founder, Chairman & CEO; WSO2, Inc.;  http://wso2.com/
> > email: [email protected]; phone: +1 408 754 7388 x51726; cell: +94 77 787
> > 6880
> > blog: http://sanjiva.weerawarana.org/
> >
> > Lean . Enterprise . Middleware
> >
> > _______________________________________________
> > Carbon-dev mailing list
> > [email protected]
> > https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
> >
> >
>
> _______________________________________________
> Carbon-dev mailing list
> [email protected]
> https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>
_______________________________________________
Carbon-dev mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev

Reply via email to