Hi Norman,

thanks for the hint. That's really valuable. Do we need an ID anyways? JPA needs one (until now) to build relationships. But besides that? getMailboxById() is hardly ever used IIRC. Will look into this as soon as I'm done with the MailPath thing.

Cassandra backend... this will be quite a unique feature for a mail server!

Cheers
Tim

Norman Maurer schrieb:
Hi Tim,

yesterday while playing with cassandra (to build a cassandra backend
for imap) I noticed some problem with your current implementation of
the mailbox key. You use the absolute path to the mailbox folder as
key. This works fine as long as you don't rename the mailbox. If you
rename the mailbox the path will change and so the key too.. But the
key should not change during the lifetime of the mailbox, because if
it would change you would need to update all key relations to it.

So you will need to generate the id a differently...

Bye,
Norman


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to