UNEXPECTED_MESSAGE_RECIEVED
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stado |
New
|
Undecided
|
Unassigned |
Bug Description
create table a(x int, y int);
create table b(x int, y int);
insert into a values(1,1);
insert into a values(1,2);
insert into b values(1,3);
insert into b values(1,4);
with "xdb.use_
Stado -> select * from a,b;
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.
During debug, below exception is got:
org.postgresql.
The cause seems to be:
###ProducerSend
public void sendToNodes(
Object jdbcLock, int sourceNodeId, int requestId)
throws SQLException, XDBServerException {
...
try {
} catch (Exception e) {
}
...
in finishInserts(
###LocalConnect
protected void send(NodeMessage message) throws Exception {
final String method = "send";
try {
} finally {
}
}
msgQTable is : {1=[]}
message is: NodeMessage[
So destination is null, then java.lang.
Related branches
Changed in stado: | |
status: | In Progress → Fix Committed |
with "xdb.use_ load_for_ step=true" (default config) config in stado.config.
Stado -> select count(*) from sf_commercerecord;
+----------+
| count(*) |
+----------+
| 3000000 |
+----------+
1 row(s).
Stado -> select count(*) from sf_wofcust201205;
+----------+
| count(*) |
+----------+
| 25009727 |
+----------+
1 row(s).
Stado -> update sf_commercerecord set status=integraltype where exists ( select * from sf_wofcust201205 where sf_commercereco rd.mobileno= sf_wofcust20120 5.mobileno and sf_commercereco rd.feecode= sf_wofcust20120 5.feecode ); MESSAGE_ RECIEVED (GOT, EXPECTED) :(1 , 41 )
SQLException: ERROR: UNEXPECTED_
For small tables, there seems to be no problem:
Stado -> select count(*) from sf_commercerecord;
+----------+
| count(*) |
+----------+
| 2 |
+----------+
1 row(s).
Stado -> select count(*) from sf_wofcust201205;
+----------+
| count(*) |
+----------+
| 82 |
+----------+
1 row(s).
Stado -> update sf_commercerecord set status=integraltype where exists ( select * from sf_wofcust201205 where sf_commercereco rd.mobileno= sf_wofcust20120 5.mobileno and sf_commercereco rd.feecode= sf_wofcust20120 5.feecode) ;
1 row(s) affected