Skip to content

Commit efc8bae

Browse files
committed
Merge branch '2.4' into develop
2 parents f9e203f + d674423 commit efc8bae

File tree

4 files changed

+14
-2
lines changed

4 files changed

+14
-2
lines changed

.gitignore

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,3 +65,11 @@ CLion project files
6565
*.pro
6666
*.pro.user
6767
*.pri
68+
69+
# Build directories
70+
/debug*/
71+
/release*/
72+
/package*/
73+
74+
# Emacs
75+
TAGS

maxscale-system-test/ccrfilter_global.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ int main(int argc, char* argv[])
1818
auto secondary = test.maxscales->rwsplit();
1919
secondary.connect();
2020

21-
for (int i = 0; i < 50; i++)
21+
for (int i = 0; i < 25; i++)
2222
{
2323
conn.connect();
2424
test.expect(conn.query("INSERT INTO test.t1 VALUES ('" + data + "')"),
@@ -34,6 +34,9 @@ int main(int argc, char* argv[])
3434
// Existing connections should also see the inserted rows
3535
auto second_count = std::stoi(secondary.field("SELECT COUNT(*) FROM test.t1"));
3636
test.expect(second_count == i + 1, "Missing `%d` rows from open connection.", (i + 1) - count);
37+
38+
// Make sure the row is replicated before inserting another one
39+
test.repl->sync_slaves();
3740
}
3841

3942
conn.connect();

maxscale-system-test/cnf/maxscale.cnf.template.ccrfilter_global

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ monitor_interval=1000
1717
[ccrfilter]
1818
type=filter
1919
module=ccrfilter
20-
time=5
20+
time=10
2121
global=true
2222

2323
# RWSplit

server/modules/routing/readconnroute/readconnroute.hh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ public:
4949

5050
bool handleError(mxs::ErrorType type, GWBUF* pMessage, mxs::Endpoint* pProblem, const mxs::Reply& pReply)
5151
{
52+
MXS_INFO("Server '%s' failed", pProblem->target()->name());
5253
return false;
5354
}
5455

0 commit comments

Comments
 (0)