Details
-
Idea
-
Resolution: Unresolved
-
Major
-
None
-
8.4.3
-
None
-
Unknown
-
Description
Main reasons are:
- the way deleted document are stored right now make it unusable for document with lots of versions/attachments (see
XWIKI-8910) - it would make possible to request deleted document just like
There is two possible implementations:
A) New fields deleter and deleteDate in history and entity tables (document, attachment, objects, etc.) and and make primary key of all those tables include deleteDate
Probably the solution that would make the more sense if we were starting from scratch.
PRO:
- Super fast delete/restore operations.
CONS:
- very dangerous change, retro-compatibility is close to impossible: the main issue is that it would break all existing HQL requests on documents which obviously won't filter on those fields that did not existed when they were written
B) Duplicate all entity tables
PRO:
- make retro-compaibility easier
Attachments
Issue Links
- is related to
-
XWIKI-8910 Cannot delete document with many large attachments
- Closed