Re: Problem with rw-splitting
Using rw-splitting?
This is my start script:
LUA_PATH="/home/peter/src/mysql-proxy-0.6.0/lib/?.lua" mysql-proxy \
--proxy-lua-script=/home/peter/src/mysql-proxy-0.6.0/lib/rw-splitting.lua \
--proxy-backend-addresses=192.168.1.99:3306 \
--proxy-read-only-backend-addresses=192.168.1.109:3306
I have attempted to follow the tutorial available but I get this error: (After a delay)
(lua-error) [/home/peter/src/mysql-proxy-0.6.0/lib/rw-splitting.lua]
...ome/peter/src/mysql-proxy-0.6.0/lib/rw-splitting.lua:37: attempt to index field 'config' (a nil value)
I have top running on both the slave and the master machines and a ror application (on master) to generate selects - when the query first starts the slave machine has a spike then it falls back to the master
any ideas - do i need to give more information?
Peter
Subject
Views
Written By
Posted
4005
October 31, 2007 08:26AM
3332
November 02, 2007 03:07AM
Re: Problem with rw-splitting
2802
November 08, 2007 07:56AM
2586
November 10, 2007 03:59AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.