You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2018/06/05 17:09:37 UTC
[Bug 62430] New: mod-mbox-util fails to empty index file if mbox is
emptied
https://bz.apache.org/bugzilla/show_bug.cgi?id=62430
Bug ID: 62430
Summary: mod-mbox-util fails to empty index file if mbox is
emptied
Product: Apache httpd-2
Version: 2.5-HEAD
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: mod_mbox
Assignee: bugs@httpd.apache.org
Reporter: sebb@apache.org
Target Milestone: ---
If a non-empty mbox file is indexed, and then updated to be empty, subsequent
update and create runs don't empty the index.
It looks like the code caches the contents of the index file and does not
notice that there are now no messages.
It seems the only way to ensure the index is properly recreated is to delete it
before running mod-mbox-util
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62430] mod-mbox-util fails to empty index file if mbox is
emptied
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62430
--- Comment #2 from Sebb <se...@apache.org> ---
The problem seems to be worse than I thought: messages processed from the mbox
file are added to the index. This only works properly if the messages are only
ever added to the mbox. Whilst this is the most common scenario, it is not the
only possible one.
I would expect the index to be created from the current mbox contents only; any
existing entries should be dropped.
The -c option help says:
'-c Force creation of a new cache. If there is an existing cache, it
will be ignored and overwritten'
That is not happening; the existing cache is not overwritten.
In the case of the '-u' option, the help text is less clear:
'-u Updates an existing cache'
However surely the cache should agree with the mbox file from which it was most
recently derived - not a combination of all mbox files that have been processed
so far.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62430] mod-mbox-util fails to empty index file if mbox is emptied
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62430
Rich Bowen <rb...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |WONTFIX
Status|NEW |RESOLVED
--- Comment #3 from Rich Bowen <rb...@apache.org> ---
Thank you for your report. As part of an effort to clean up our issue tracker,
we are closing tickets that have seen no activity for more than 5 years. If
this issue is still relevant to a current version of Apache httpd (2.4.x or
trunk), please reopen this ticket or open a new one with updated information.
We appreciate your contribution to the project.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org
[Bug 62430] mod-mbox-util fails to empty index file if mbox is
emptied
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=62430
--- Comment #1 from Sebb <se...@apache.org> ---
The same issue occurs if the mbox is editted to remove a message; mmu does not
drop the removed message.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org