summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/store
Commit message (Collapse)AuthorAgeFilesLines
* Update from trunk r1375509 through r1450773asyncstoreKim van der Riet2013-02-287-77/+17
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1451244 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: WIP: Provisional checkin: Wiring of async store interface to ↵Kim van der Riet2012-09-241-1/+2
| | | | | | broker. Code compiles, but as persistent transactions are currentl disconnected, not all tests pass. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1389378 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated code to include recent refactoring by Gordon (gsim) - see ↵Kim van der Riet2012-08-271-1/+1
| | | | | | QPID-4178. git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1377715 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3858: Updated branch - merged from trunk r.1333987Kim van der Riet2012-05-044-11/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/branches/asyncstore@1334037 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3621 cmake build changes for solaris and solaris specific code changesClifford Allan Jansen2012-02-091-1/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1242411 13f79535-47bb-0310-9956-ffa450edef68
* QPID-3344 - Comparisons of const DataAddr objects are incorrectTed Ross2011-07-121-1/+1
| | | | | | | Applied patch from Zane Bitter git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1145644 13f79535-47bb-0310-9956-ffa450edef68
* Handle iterator properly when removing entries from list; resolves QPID-2941.Stephen D. Huston2010-11-121-3/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1034586 13f79535-47bb-0310-9956-ffa450edef68
* Manage CLFS containers using policies to both create the initial containers ↵Stephen D. Huston2010-11-053-23/+46
| | | | | | and to automatically grow and shrink the log as needed. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031842 13f79535-47bb-0310-9956-ffa450edef68
* Revised Messages to keep track of queues each message is on to enable ↵Stephen D. Huston2010-11-043-207/+255
| | | | | | finding all messages on a deleted queue. Removed this type of tracking from MSSqlClfsProvider.cpp. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1031325 13f79535-47bb-0310-9956-ffa450edef68
* Catch com exceptions during db recovery and rethrow as ADOExceptions which ↵Stephen D. Huston2010-11-031-65/+105
| | | | | | the broker can deal with. Resolves QPID-2925. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1030752 13f79535-47bb-0310-9956-ffa450edef68
* Since LSNs are used as persistence IDs and ID 0 usually means "not ↵Stephen D. Huston2010-10-299-30/+131
| | | | | | | | | persisted", ensure that no log record that's used gets written at LSN 0. Add stub for loadContent(). Correct transaction references in enqueue/dequeue. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1028840 13f79535-47bb-0310-9956-ffa450edef68
* Add hybrid SQL-CLFS store that can be used on Windows systems Vista, Win ↵Stephen D. Huston2010-10-2117-6/+3185
| | | | | | Server 2008 and up - these have the Common Log File System facility. The CLFS store uses CLFS to store/recover messages and transactions instead of SQL. SQL still holds queues, bindings, exchanges, configs. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1026175 13f79535-47bb-0310-9956-ffa450edef68
* Fix typo in namespace close commentsStephen D. Huston2010-05-131-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@943904 13f79535-47bb-0310-9956-ffa450edef68
* Add store test executions if building the store module. Add trigger on ↵Stephen D. Huston2010-04-191-0/+16
| | | | | | messageMap table deletes to remove orphaned messages from message table; part of QPID-2420. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935710 13f79535-47bb-0310-9956-ffa450edef68
* Fix g++ compile warning-turned-errorStephen D. Huston2010-04-191-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935595 13f79535-47bb-0310-9956-ffa450edef68
* Fix for QPID-2420 to correctly handle restoring and commit/abort prepared ↵Stephen D. Huston2010-04-1618-262/+899
| | | | | | | | transactions. The basic approach is documented in QPID-2420. This also makes improvements in the way changes are done to the tblMessageMap table which should perform much better, avoiding pulling the whole table into the broker just to add or edit or delete a single record. Also, some of the consistency checks and enforcements are moved into the database itself from the C++ code. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@935068 13f79535-47bb-0310-9956-ffa450edef68
* Fix restoration of durable messages at startup. Remove all references to a ↵Stephen D. Huston2009-11-057-36/+105
| | | | | | queue that's about to be deleted from the database. Fixes QPID-2183. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@833230 13f79535-47bb-0310-9956-ffa450edef68
* When storing a message, set its new persistence Id. Don't throw an exception ↵Stephen D. Huston2009-11-033-26/+65
| | | | | | | | when attempting to enqueue/dequeue a message without a AMQP transaction associated. Mark queued/dequeued messages complete right after storing in database; there's no delayed notify needed for this storage provider. Fixes QPID-2170. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@832234 13f79535-47bb-0310-9956-ffa450edef68
* In broker, change RecoverableExchange[Impl]::bind() strings to const; they ↵Stephen D. Huston2009-10-305-55/+84
| | | | | | | | | | are never changed, and are only passed on to other methods that expect const strings. Makes it easier to work with from store. In SQL store, fix the deletion of multiple bindings at once. Also, change the tblBinding table to store queue persistenceIds instead of names. Helps keep referential integrity with the queue table. Restoring bindings then just needs to look up the queue name from its ID before restoring each binding. Fixes QPID-2169, and probably QPID-2170. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831476 13f79535-47bb-0310-9956-ffa450edef68
* Ensure a client-side cursor is used, and change to static cursor to improve ↵Stephen D. Huston2009-10-302-2/+7
| | | | | | | | performance. When adding a new record that has a persistence ID, wait until after the Update to retrieve the new id from the new record. Fixes QPID-2168. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831167 13f79535-47bb-0310-9956-ffa450edef68
* Always include the hresult message if it's available.Stephen D. Huston2009-10-301-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@831161 13f79535-47bb-0310-9956-ffa450edef68
* Change StorageProvider::Exception to inherit from qpid::Exception instead of ↵Stephen D. Huston2009-10-284-26/+42
| | | | | | | | std::exception; allows the broker to catch them and do something other than die without a message. Fixed exception handling around more ADO ops and correctly handle com exceptions without associated ErrorInfo. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830797 13f79535-47bb-0310-9956-ffa450edef68
* Fix unused arg warningsStephen D. Huston2009-10-282-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830649 13f79535-47bb-0310-9956-ffa450edef68
* Set up COM initialization before trying to database connection in ↵Stephen D. Huston2009-10-271-0/+1
| | | | | | earlyInitialize. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830397 13f79535-47bb-0310-9956-ffa450edef68
* Add install steps.Stephen D. Huston2009-10-271-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@830311 13f79535-47bb-0310-9956-ffa450edef68
* Initial checkin of portable message store plugin and MS SQL-specific storage ↵Stephen D. Huston2009-10-2129-0/+4101
provider. Goes with QPID-2017 git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@827870 13f79535-47bb-0310-9956-ffa450edef68