Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Fixed
-
None
-
Correctness
-
Normal
-
Normal
-
User Report
-
All
-
None
-
Description
This has been failing consistently lately
Error Message KeyError: '127.0.0.3' Stacktrace self = <read_repair_test.TestSpeculativeReadRepair object at 0x7f979a965850> @since('4.0') def test_speculative_data_request(self): """ If one node doesn't respond to a full data request, it should query the other """ node1, node2, node3 = self.cluster.nodelist() assert isinstance(node1, Node) assert isinstance(node2, Node) assert isinstance(node3, Node) session = self.get_cql_connection(node1, timeout=2) session.execute(quorum("INSERT INTO ks.tbl (k, c, v) VALUES (1, 0, 1)")) node2.byteman_submit(['./byteman/read_repair/stop_writes.btm']) node3.byteman_submit(['./byteman/read_repair/stop_writes.btm']) session.execute("INSERT INTO ks.tbl (k, c, v) VALUES (1, 1, 2)") # re-enable writes node2.byteman_submit(['-u', './byteman/read_repair/stop_writes.btm']) node1.byteman_submit(['./byteman/read_repair/sorted_live_endpoints.btm']) node1.byteman_submit(['./byteman/request_verb_timing.btm']) with StorageProxy(node1) as storage_proxy: assert storage_proxy.blocking_read_repair == 0 assert storage_proxy.speculated_rr_read == 0 assert storage_proxy.speculated_rr_write == 0 session = self.get_cql_connection(node1) node2.byteman_submit(['./byteman/read_repair/stop_data_reads.btm']) results = session.execute(quorum("SELECT * FROM ks.tbl WHERE k=1")) timing = request_verb_timing(node1) > repair_req_node3 = timing[node3.ip_addr].get('READ_REPAIR_REQ') E KeyError: '127.0.0.3' read_repair_test.py:621: KeyError
Attachments
Issue Links
- Discovered while testing
-
CASSANDRA-16928 InetAddressAndPort to extend InetAddress
- Resolved
- links to