GitHub user sebbASF opened an issue:

    https://github.com/apache/incubator-ponymail/issues/176

    Bug: "full' id generator is not stable

    The "full" id generator currently take the hash of the input message as 
parsed by MM3 or by a Python email package. The parsed message may be massaged 
e.g. by adding an 'archived-at' header before it is converted into bytes.
    
    Whilst this guarantees uniqueness, it is not repeatable.
    
    If the same message is reloaded from a different source - or even the same 
source, if the 'archived-at' header is not present - it will get a different 
id, and thus may be stored as well as the original identical message.
    
    If the database has to be regenerated from source, the message ids will be 
different. Since the message ids are used to create Permalinks, any existing 
Permalinks will stop working.
    
    The generator also uses the same output format as the "medium" generator, 
which may cause problems in future.

----

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to