hassanakbar4 / mail-archive-test

0 stars 0 forks source link

Newly added messages cause IO warning #91

Closed hassanakbar4 closed 3 years ago

hassanakbar4 commented 10 years ago

component_MailArchive: User Interface resolution_fixed type_defect | by rcross@amsl.com


There are frequent warnings in the log file of the type:

2014-03-11 14:56:27,916 - mlarchive.custom - WARNING - Error reading message file: /a/mailarch/data/archive/idr/lRJsIg-Fi-p5Pc-Bdo-32m-Ddwk=

they seem to appear just when the message has been added to the archive. Later references to the message from the UI don't have any problems.


Issue migrated from trac:1359 at 2021-09-22 18:46:41 +0500

hassanakbar4 commented 10 years ago

@hassanakbar4 changed priority from major to critical

hassanakbar4 commented 10 years ago

@hassanakbar4 commented


This doesn't affect every message but those that are affected aren't being indexed properly.

hassanakbar4 commented 10 years ago

@hassanakbar4 changed status from new to closed

hassanakbar4 commented 10 years ago

@hassanakbar4 changed resolution from ` tofixed`

hassanakbar4 commented 10 years ago

@hassanakbar4 commented


Fixed in v1.1.1

This was a problem with the order of operations when importing a message. message.save() was called before writing the message to disk. The index routine is a Message post_save signal, and it requires the message on disk.