[Mailman-Developers] How can I reload mlist data from SA database
barry at python.org
Thu Mar 29 07:43:13 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
On Mar 27, 2007, at 4:22 AM, Tokio Kikuchi wrote:
>>> testing 2.2 code on my PC. What is curious about the LMTP/HTTP
>>> interfaces with SQLAlchemy based database is that changes
>>> commited in
>>> LMTP/HTTP sessions cannot be reflected on the other sessions. If I
>>> subscribe an address via HTTP then it cannot be unsubscribed from
>>> and vise versa, until I restart the runners. Perhaps we need a
>>> mechanism but I don't know how to implement it.
>> I think I've noticed a similar problem. I think it has to do
>> with concurrency between processes using SQLAlchemy. As you
>> said, it seems like we need an explicit "reload" but I'm really
>> hoping that that's just because we're not doing something right.
>> I haven't had time to figure it out yet, or to contact the SA
>> mailing list to get their feedback. We definitely need to
>> address that issue before we get too far down the SA road.
> I've submitted a patch to address this problem on SF patch area
> because I'm not confident whether to check this in the svn. I hope
> you have time to review and write a better patch.
I wonder if we shouldn't just be adding always_refresh=True to the
mappers? I can't get to the SQLAlchemy site atm to provide a reference.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
-----END PGP SIGNATURE-----
More information about the Mailman-Developers