svn: /pecl/mysqlnd_ms/trunk/ mysqlnd_ms_filter_qos.c mysqlnd_ms_filter_qos.h mysqlnd_ms_switch.c mysqlnd_ms_switch.h php_mysqlnd_ms.c
| From: | Andrey Hristov | Date: | Mon, 05 Dec 2011 18:27:00 +0000 |
| Subject: | svn: /pecl/mysqlnd_ms/trunk/ mysqlnd_ms_filter_qos.c mysqlnd_ms_filter_qos.h mysqlnd_ms_switch.c mysqlnd_ms_switch.h php_mysqlnd_ms.c | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-17271@lists.php.net to get a copy of this message | ||
andrey Mon, 05 Dec 2011 18:27:00 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=320455
Log:
Fix for trunk and move code around to be close to its source (QOS stuff in filter_qos.c)
Split querying the slaves for GTID in 2 stages :
- just send the query in a loop to every slave
- fetch the data
This makes things a bit more parallel and we can reuse the time which usually is spent in
network wait for doing other things. The best solution will be polling, still this one is
also better the the current solution in SVN.
Changed paths:
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_filter_qos.c
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_filter_qos.h
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_switch.c
U pecl/mysqlnd_ms/trunk/mysqlnd_ms_switch.h
U pecl/mysqlnd_ms/trunk/php_mysqlnd_ms.c
Attachment: [text/x-diff] svn-diffs-320455.txt
Attachment: [text/x-diff] svn-diffs-320455.txt