Stado -> update sf_commercerecord set status=integraltype
Stado -> where exists (
Stado -> select * from sf_wofcust201205
Stado -> where
Stado -> sf_commercerecord.mobileno=sf_wofcust201205.mobileno
Stado -> and sf_commercerecord.feecode=sf_wofcust201205.feecode
Stado -> );
SQLException: ERROR: UNEXPECTED_MESSAGE_RECIEVED (GOT, EXPECTED) :(1 , 41 )
####4 xdb.use_load_for_step=false; Using XDBAgents:
Stado -> select * from a,b;
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.stado.exception.XDBServerException : Insert Failed :
Stado -> select * from a,b;
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.stado.exception.XDBServerException : Insert Failed :
Stado -> select * from a,b;
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.stado.exception.XDBServerException : Insert Failed :
Stado -> select * from a,b;
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.stado.exception.XDBServerException : Insert Failed :
Stado -> select * from a,b;
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.stado.exception.XDBServerException : Insert Failed :
It seems to be unstable, and gets ERROR most of the time.
Hi Andrei,
In my testing environment. I have two logical nodes on the same phisical node: 1.dbhost= 127.0.0. 1 2.dbhost= 127.0.0. 1
xdb.nodecount=2
xdb.node.
xdb.node.
####1 xdb.use_ load_for_ step=false ; NOT using XDBAgents
Stado -> select * from a,b;
+---------------+
| x | y | x | y |
+---------------+
| 1 | 1 | 1 | 3 |
| 1 | 2 | 1 | 3 |
| 1 | 1 | 1 | 4 |
| 1 | 2 | 1 | 4 |
+---------------+
4 row(s).
Stado -> update sf_commercerecord set status=integraltype rd.mobileno= sf_wofcust20120 5.mobileno rd.feecode= sf_wofcust20120 5.feecode MESSAGE_ RECIEVED (GOT, EXPECTED) :(1 , 41 )
Stado -> where exists (
Stado -> select * from sf_wofcust201205
Stado -> where
Stado -> sf_commercereco
Stado -> and sf_commercereco
Stado -> );
SQLException: ERROR: UNEXPECTED_
In PostgreSQL's log, there is error like: "ERROR: portal "C_49" does not exist"
####2 xdb.use_ load_for_ step=true; NOT using XDBAgents
Stado -> select * from a,b;
+---------------+
| x | y | x | y |
+---------------+
| 1 | 1 | 1 | 3 |
| 1 | 2 | 1 | 3 |
| 1 | 1 | 1 | 4 |
| 1 | 2 | 1 | 4 |
+---------------+
4 row(s).
Stado -> update sf_commercerecord set status=integraltype rd.mobileno= sf_wofcust20120 5.mobileno rd.feecode= sf_wofcust20120 5.feecode MESSAGE_ RECIEVED (GOT, EXPECTED) :(1 , 41 )
Stado -> where exists (
Stado -> select * from sf_wofcust201205
Stado -> where
Stado -> sf_commercereco
Stado -> and sf_commercereco
Stado -> );
SQLException: ERROR: UNEXPECTED_
If Using XDBAgents, I have below configuration:
# config with different ports, otherwise agent init failed 1.port= 6455 1.host= 172.17. 0.14 2.port= 6456 2.host= 172.17. 0.14
xdb.node.
xdb.node.
xdb.node.
xdb.node.
# coordinator and agents are on the same server, but starts separately .host=172. 17.0.14 .port=6454
xdb.coordinator
xdb.coordinator
xdb.connector.0.1=1
xdb.connector.1.0=1
xdb.connector.0.2=1
xdb.connector.2.0=1
## starts the agents
./gs-server.sh -a
./gs-agent.sh -n 1 2
####3 xdb.use_ load_for_ step=true; Using XDBAgents:
Stado -> select * from a,b;
+---------------+
| x | y | x | y |
+---------------+
| 1 | 1 | 1 | 3 |
| 1 | 2 | 1 | 3 |
| 1 | 1 | 1 | 4 |
| 1 | 2 | 1 | 4 |
+---------------+
4 row(s).
Stado -> update sf_commercerecord set status=integraltype rd.mobileno= sf_wofcust20120 5.mobileno rd.feecode= sf_wofcust20120 5.feecode MESSAGE_ RECIEVED (GOT, EXPECTED) :(1 , 41 )
Stado -> where exists (
Stado -> select * from sf_wofcust201205
Stado -> where
Stado -> sf_commercereco
Stado -> and sf_commercereco
Stado -> );
SQLException: ERROR: UNEXPECTED_
####4 xdb.use_ load_for_ step=false; Using XDBAgents:
Stado -> select * from a,b; stado.exception .XDBServerExcep tion : Insert Failed :
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.
Stado -> select * from a,b; stado.exception .XDBServerExcep tion : Insert Failed :
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.
Stado -> select * from a,b;
+---------------+
| x | y | x | y |
+---------------+
| 1 | 1 | 1 | 3 |
| 1 | 2 | 1 | 3 |
| 1 | 1 | 1 | 4 |
| 1 | 2 | 1 | 4 |
+---------------+
4 row(s).
Stado -> select * from a,b; stado.exception .XDBServerExcep tion : Insert Failed :
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.
Stado -> select * from a,b; stado.exception .XDBServerExcep tion : Insert Failed :
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.
Stado -> select * from a,b;
+---------------+
| x | y | x | y |
+---------------+
| 1 | 1 | 1 | 3 |
| 1 | 2 | 1 | 3 |
| 1 | 1 | 1 | 4 |
| 1 | 2 | 1 | 4 |
+---------------+
4 row(s).
Stado -> select * from a,b; stado.exception .XDBServerExcep tion : Insert Failed :
SQLException: ERROR: Node 1 has aborted execution, cause is: org.postgresql.
It seems to be unstable, and gets ERROR most of the time.