#9 new
m-fujiwara (at axsh)

StatusDB: Need to auto reload the object when the database is updated.

Reported by m-fujiwara (at axsh) | October 14th, 2009 @ 11:08 PM

The current implementation is making the object memory copies at each find(). This causes that the multi version issue in the objects at read time.

To avoid the data inconsistency, the reloading from the database should happen more frequently. Here is the pseudo code for the implementer:

def reader_method1 check_dirty && reload return self.attr1 end

It could be enough to inject the reload() method at the begging of every reader methods as the first preliminary work.

No comments found

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

test

Shared Ticket Bins

People watching this ticket

Tags

Pages