
|
If you were logged in you would be able to see more operations.
|
|
|
|
Environment:
|
Solaris 10, JDK 1.6
|
|
The management of file names within Kaha persistence is such that it may create a file with a name that ends up colliding with a file meant for a different, but very close, topic name. The file names are ultimately managed by org/apache/activemq/util/IOHelper.java, which will trim the file name down to a maximum file name size, default of 64. With sufficiently large topic names, it is possible to create a collision with this scheme. Ours is large enough, that even if I push the max to 200 (attempting to stay under the 256 max length in Solaris), I can still get a collision.
What this results in is modifications to a file for two different items and/or consumers, which causes corruption and errors.
|
|
Description
|
The management of file names within Kaha persistence is such that it may create a file with a name that ends up colliding with a file meant for a different, but very close, topic name. The file names are ultimately managed by org/apache/activemq/util/IOHelper.java, which will trim the file name down to a maximum file name size, default of 64. With sufficiently large topic names, it is possible to create a collision with this scheme. Ours is large enough, that even if I push the max to 200 (attempting to stay under the 256 max length in Solaris), I can still get a collision.
What this results in is modifications to a file for two different items and/or consumers, which causes corruption and errors. |
Show » |
made changes - 14/Apr/08 09:00 AM
| Field |
Original Value |
New Value |
|
Assignee
|
|
Rob Davies
[ rajdavies
]
|
made changes - 14/Apr/08 09:02 AM
|
Resolution
|
|
Fixed
[ 1
]
|
|
Fix Version/s
|
|
5.1.0
[ 11802
]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|