From: Mike S. <so...@if...> - 2009-10-28 18:55:51
|
The error deleting a long-named collection is ultimately caused by: java.io.IOException: Cannot make collection filesystem directory: /proj/exist/eXist/webapp/WEB-INF/data/fs.journal/txn.143317/db/foo/%0AV&A%20Collection%0AT.29A-1958%0A2006AF5794%0A2006AF5796%0A2006AF5795%0AO88320%0AUnknown%0ABlouse%0AWDD01,%20bloom,%20blouse,%20costume,%20cream,%20cuff,%20cutwork,%20embroidery,%20flower,%20lace,%20linen,%20red,%20rose,%20silk,%20sleeve,%20traditional%0AWDD01,%20bloom,%20blouse,%20costume,%20cream,%20cuff,%20cutwork,%20embroidery,%20fleur-des-lys,%20flower,%20gathering,%20lace,%20linen,%20red,%20rose,%20silk,%20sleeve,%20traditional%0AWDD01,%20blouse,%20costume,%20cream,%20cutwork,%20embroidery,%20flower,%20gathering,%20lace,%20linen,%20pleat,%20silk,%20traditional%0AThe%20three%20panels%20that%20have%20been%20attached%20to%20the%20bodice%20between%20lines%20of%20pintucks%20are%20examples%20of%20machine%20embroidery.%20The%20Schiffli%20embroidery%20machines%20were%20developed%20by%20Isaac%20Groebli%20in%201865%20and%20could%20produce%20many%20varied%20effects,%20from%20simple%20eyelet%20embroidery%20to%20more%20complex%20patterns%20and%20structures%20such%20as%20these,%20which%20resemble%20certain%20types%20of%20lace.%20The%20subtleties%20of%20whitework%20are%20often%20overlooked,%20but%20when%20textures%20are%20skillfully%20combined,%20as%20they%20are%20here,%20so%20that%20light%20is%20alternately%20absorbed%20and%20reflected,%20it%20is%20the%20epitome%20of%20elegance.%20In%20contrast,%20brightly%20coloured,%20solid,%20shiny%20embroidery%20almost%20entirely%20covers%20the%20straight%20sleeves%20on%20this%20blouse.%20There%20is%20no%20finesse%20in%20the%20design,%20no%20great%20skill%20demonstrated%20by%20the%20embroiderer%20but%20there%20is%20obvious%20delight%20in%20the%20abundance%20of%20colour%20and%20in%20the%20scale%20and%20profusion%20of%20the%20blossoms.%20The%20silk%20is%20barely%20twisted,%20its%20fibres%20lying%20almost%20parallel,%20and%20so%20it%20forms%20a%20very%20reflective%20surface.%20Yellow%20silk%20has%20been%20used%20to%20attach%20the%20sleeve%20to%20its%20separate%20cuff%20and%20yellow%20is%20picked%20up%20again%20as%20a%20highlight%20in%20the%20deep%20border%20of%20machine%20embroidery%20that%20forms%20the%20final%20section.%0A%0A01 at org.exist.storage.NativeBroker.getCollectionFile(NativeBroker.java:1633) at org.exist.storage.NativeBroker.removeCollection(NativeBroker.java:983) at org.exist.storage.NativeBroker.removeCollection(NativeBroker.java:1007) at org.exist.xmlrpc.RpcConnection.removeCollection(RpcConnection.java:2658) at org.exist.xmlrpc.RpcConnection.removeCollection(RpcConnection.java:2633) I guess maybe the length is the problem; the filesystem won't allow such long filenames. So it seems that the filesystem limits should be taken into account when choosing the proper limit for collection name length. It is however possible to rename the collection and then delete it. -Mike Wolfgang wrote: >> Wolfgang, can we limit collection's name size to 256 letters or >> something? I don't think that collection name should be 200Mb or around. > > Yes, I agree it should be limited. I'm not sure what happens if the > length of the collection name exceeds 4k (or one page in the index). A > limitation to 256 or 512 letters would be wise. > > Wolfgang |