[Mailman-Developers] How can I reload mlist data from SA database

Barry Warsaw barry at python.org
Fri Mar 9 23:00:25 CET 2007

Hash: SHA1

On Mar 3, 2007, at 1:13 AM, Tokio Kikuchi wrote:

> Hi Barry,

Hi Tokio,

Man, I don't know what happened but I just got /plastered/ with email  
this week.  Between that and work, I haven't even touched the code. :/

> Since we at Japanese universities are in Spring vacation, I started
> 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 LMTP
> and vise versa, until I restart the runners.  Perhaps we need a reload
> 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.

> Other than that, I think I've checked with i18n plain text message
> deliveries for both regular and digest.  Still to go are mime  
> multipart
> messages and archives.
> I've also added a comment on Testing Mailman 2.2 wiki page how to test
> run the 2.2 code.

Thanks, and I saw your recent patches.  One thing we should be extra  
careful about is to include unit tests for anything we fix.  I really  
want to improve our test suite so having test that cover the things  
you change are really important.  I'm also trying to be very diligent  
about keeping the test suite working.  Eventually I'd like to  
integrate our stuff with one of the Python community buildbots.

Thanks, and I hope you haven't wasted your entire spring vacation  
waiting for me to respond! :)

- -Barry

Version: GnuPG v1.4.5 (Darwin)


More information about the Mailman-Developers mailing list