| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
will increase our memory usage. Instead add a close method on the BackingStore that is called when the queue closes and clean up the backing then. Also moved the QueueHousekeeping thread stop to before we do any queue closing in the VHost. This will ensure that we are not causing any operations that might inadvertadly load a message, and so prevent the backing file from being deleted. This should of course now not occur as all getMessage() calls have been removed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751722 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
provided by java.io. Attempting to delete an non-existent file returns false. The caller must handle this correctly. If client provides a null value then the call will throw a NPE which is a valid java response.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751720 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
message to be read in to memory from disk. In all instances the reason was to perform methods that exist on the the QueueEntry. Added accessor to MessageID on QueueEntry. Outstanding getMessage() calls have been left in to perform NO_LOCAL work. Moving Publisher and PublisherClient identifer to the QEI would remove this need.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751718 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Priority queues.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751714 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751636 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
The fix is a bit of a hack, but I don't see another way to handle it.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@751061 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
null, it would previously have thrown a NPE which was erroneously caught this and declared the delete to have failed. If there is nothing to delete (signified by the Null File object) then the delete should pass.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750946 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
getFileHandle() method so it was attempting to delete a bin rather than the message data. Our Broker Unit tests don't create the right type of ByteBuffer so whilst they passed the buffer.getData().array() failed as array() is not supported in the ByteBuffer types we actually use at runtime.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750876 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
100Meg. Future work would be to have the broker split Xmx between VirtualHost and for the Vhost then to use its housekeeping thread to spread the memory between the current queues. It could of course be clever and give more memory to queues in high use.
Mistype in AMQQueueFactory resulted in it setting the Max Queue Size alert rather than the Max Memory value
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750875 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
null. Used setDeliveredToConsumers() on QEI to know when it is safe to unload message so SAMQQueue does not need to have anything to do with message un/loading. So the FtD work is fully encapuslated by the QEI which delegates memory accounting to its list.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750874 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
prevent the inadvertent loading of a flowed message with a call to getMessage()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750873 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750871 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
been flowed to disk
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750869 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750868 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
applied to queue.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750867 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
The automated test case for this is still being worked out.
However this feature has been tested manually.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750205 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750204 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
This includes a the failover test run in a loop.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750203 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@750025 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
fix for QPID-1642/QPID-1643
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749842 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
execution exception
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749740 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
big in inhaler/purger to ensure priority data is correctly reloaded.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749699 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749697 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749572 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749340 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
| |
adjusted.
QueueEntries are now the point of entry to load/unload rather than the List. This is because it is only the QueueEntryList that the QueueEntry that is attached to that can correctly account for the inMemory usage. In the Priority Queue case the priority queue does not know which sub list the QueueEntry is on. As the QEI knows it makes sence to request load/unload through the entry.
Set the default Maximum InMemory to -1, disabled.
Removed the FlowableQueueEntryList interface, merged with QueueEntryList
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749331 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
externally deleted. Also noted success return value was never propogated correctly, Updated : Test needed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749330 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
test exposed.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749315 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749285 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
management capabilities
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749282 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749275 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749265 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749233 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
upon establishing connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749186 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
management console.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749183 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
depth in bytes rather than kilbytes, matching their respective setter methods. Augment the management console's navigation queue selection list to show the appropriate numbers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@749149 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
jmxremote.sasl plugin, this is now an (optional) dependancy of the qpid-management-common plugin
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748937 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
domain node from management console navigation tree
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748936 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
data to make them be in the conventional <previous .. next> layout
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748726 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
server connection process. these details are taken care of by the JMXConnectionFactory
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748721 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
String to fix issue with createTempFile and absolute paths. Stop catching IOExceptions in saveAccessFile() and make calling methods catch them to check for and report failure and act accordingly to reverse actions in memory. Add additional unit tests to cover access rights file manipulation.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748686 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
required hashing itself in order to present a consistent interface for user management. Alter management console to use mbean versioning to detect this and send plaintext to v2+ user management mbeans. Update RMIPasswordAuthenticator to make use of the new PD input consistency
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748680 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
by the management console and cached in memory like the B64MD5 PD. Add unit tests for the PlainPD
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748641 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
window to fix multimonitor issues
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748620 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
previously during a branch merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748611 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748594 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
comments from robbie.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748591 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
SIGHUP. Add jmx method to do so.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748561 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
values from AMQMessage, _flags and expiry this allows the checking of immediate delivery and expiry on unloaded messages.
Updated nomenclature to use load/unload rather than the overloaded flow/recover.
Created new FileQueueBackingStoreFactory to ensure that validates and creates initial flowToDiskLocation and creates a new BackingStore.
Responsibility for FlowToDisk has been added to the QueueEntryLists. This will allow the easy unloading of the structure in the future. Inorder to do this the size,count and memory count properties had to be moved from the SimpleAMQQueue to the QueueEntryList.
An Inhaler thread was created in addition to the synchronous loading of messages. This is initiated as a result of a flowed QEL dropping below the minimumMemory value.
A test to ensure that the queue never exceeds its set memory usage and that the count does not go negative has been added to SimpleAMQQueueTest.
The SimpleAMQQueue is responsible for deciding when a message can be unloaded after delivery takes place. The QEL cannot decide this as there is no state for a message being marked as sent to a consumer. Only Aquired and Dequeued. The unloaded message is only deleted after the QueueEntry is deleted from the QEL. This negates the need to recreated the data on disk if the message needs to be unloaded again.
All files/directories relating to FtD are created as deleteOnExit files so that under clean shutdown the VM will ensure that the files are deleted. On startup the flowToDiskLocation is also purged to ensure a clean starting point.
SAMQQueueThreadPoolTest was augmented to take in to account the new inhaler executor reference.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748519 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
QueueEntry to allow processing whilst messasge has been flowed. Moved : _flags (for Immediate and delivered status), expiry, messageID. Created base class to maintain counts of data and objects in queue. Removed this responsibility from the AMQQueues and on to the QueueEntryLists. This will more easily allow the QEL structure to be flowed to disk at a later stage. Updated tests as a result of moves.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@748516 13f79535-47bb-0310-9956-ffa450edef68
|