View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000006 | Pgpool-II | Bug | public | 2012-02-23 11:43 | 2012-02-23 19:50 |
| Reporter | zwy | Assigned To | |||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| OS | RedHat 5.5 | ||||
| Summary | 0000006: Selects is not balanced among a session | ||||
| Description | Selects is not balanced among a session. In the test case, it always gets the same result. | ||||
| Steps To Reproduce | Connection conn1 = DriverManager.getConnection(connstr1, username1, pwd1); conn1.setAutoCommit(true); for (int i = 1; i <= 100; i++) { Statement stmt = conn1.createStatement(); ResultSet rset = stmt.executeQuery("select inet_server_addr()"); if (rset.next()) System.out.println(rset.getString(1)); } conn1.close(); | ||||
| Tags | No tags attached. | ||||
|
|
Pgpool-II decides a destination backend every session. If the client opens a single connection and execute a series of select queries, they all get routed to the same backend except some cases. If the client opens up multiple connections, both backends are used. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-02-23 11:43 | zwy | New Issue | |
| 2012-02-23 19:50 |
|
Note Added: 0000014 | |
| 2012-02-23 19:50 |
|
Status | new => resolved |
| 2012-02-23 19:50 |
|
Resolution | open => no change required |
| 2012-02-23 19:50 |
|
Assigned To | => kitagawa |