| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1620850 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Fix both to take timeout arg and raise Timeout exception if timeout expires.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1619813 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1616587 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
it fails to identify the pid of the broker\'s process
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1614598 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
(fixing regression infested by previous commit)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613270 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613130 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
exists but queue create was requested
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1613129 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
C++ and python clients were attempting to continue the transation transparently
after failover which is in correct. They were re-sending messages in the
transaction but there is no way to re-do transactional receives. The transaction
must be aborted.
The C++ and python clients have been modified to kill a transactional session
with a TransactionAborted exception if there is a failover.
Note the Java client already behaves correctly but not identically.
It defers raising an exception until commit rather than failing
immediately on failover, and the session can still be used.
The following commits are involved:
r1611349 QPID-5887: revised approach to implict abort
r1610959 QPID-5887: allow qpid-txtest2 to be run by make test
r1610958 QPID-5887: fix to new txtest2, acknowledge messages in the check phase to ensure queues remain drained for any subsequent runs
r1609748 QPID-5887: abort transactional session on failover; added equivalent of txtest using messaging API
This commit does the following:
- Update ha_tests.py tx_simpler_failover test to expect transaction aborted.
- Minor improvements to qpid-txtest2
- Fix native (non-swig) python client.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611748 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
remote's hostname.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611670 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1611016 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1608350 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
required but no credentials provided
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1607086 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
unsuccessful connection
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605855 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
connection option
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1605704 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
broker objects using addressing
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1603448 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
with name starting '\#'
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602832 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602820 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
| |
blocks forever in select() if broker is stopped (kill -STOP)"
This reverts commit r1602221 As it breaks the C++ tests:
- python_tests
- federation_sys_tests
- legacystore_python_tests
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602302 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
forever in select() if broker is stopped (kill -STOP)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1602221 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1601513 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Eventlet/Greenthreads
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598586 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1598353 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1596341 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1587710 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1579690 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1573028 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1571459 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The qpid-python-test script has a facility for skipping tests (by raising a
Skipped exception) which works fine BUT if tests are skipped the script exits
with non-0 status - i.e. failure.
With this commit the script exits with a 0 exit status (success) unless there
are actual failures.
See discussion at: http://apache-qpid-developers.2158895.n2.nabble.com/qpid-python-test-script-should-skipped-tests-be-considered-failures-td7592307.html
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1562167 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1560974 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1558503 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Heartbeats ignored when opening a connection, could hang indefinitely
Need to cover 3 cases (test included):
- Connect sucessful but then broker stalls.
- Connect to a stalled broker that never responds.
- Fail-over to a stalled broker that never responds
All cases are handled by the following fixes to driver.py:
- Check for heartbeats even before engine._connected since we may time out
before receiving open-ok if the peer is stalled and never sends data.
- Set _last_in and _last_out so that we time heartbeats from the start of the
connection if no data is ever sent or received.
- Call self.update_status in Driver.timeout to detect connection closed due to
heartbeat timeout (rather than a readable or writeable event.)
Make update_status a no-op if engine or transport are not yet set up.
- Don't consider reconnect complete in connect(), wait till we get the open-ok.
See the comment on Driver._check_retry_ok()
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1556971 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1541283 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
reverts previous fix)
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1537030 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1536750 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1534643 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
when session persists
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1526901 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525969 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Allen
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1525570 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524673 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524669 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
They now are found with the other languages.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524574 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
| |
It allows the user to send messages tot he server example app and get
messages back.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524573 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Now the imports will first attempt to bring in qpid_messaging, the Swig
generated Python. If that fails it will then fall back to trying to
import qpid.messaging, the pure Python binding.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1524572 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
|
|
| |
Each of the examples (C++, Ruby, Perl, Python) now have a command line
option to set the durable flag on messages sent. This allows for
experimenting with message persistence.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1522042 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
impl more closely
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1520416 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1513537 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1504343 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1503652 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
| |
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1496623 13f79535-47bb-0310-9956-ffa450edef68
|
| |
|
|
|
|
| |
Added missing parentheses on call to sock.close().
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@1493873 13f79535-47bb-0310-9956-ffa450edef68
|