xianlaioy / memcache-client-forjava

Automatically exported from code.google.com/p/memcache-client-forjava
0 stars 0 forks source link

集群问题 #15

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
我用了这个集群配置了两台服务器以下是我的配置:
<?xml version="1.0" encoding="UTF-8"?>
<memcached>
    <client name="clusterclient1" compressEnable="true"
        defaultEncoding="UTF-8" socketpool="clusterpool1">

<errorHandler>com.alisoft.xplatform.asf.cache.memcached.MemcachedErrorHandler</e
rrorHandler>
    </client>

    <client name="clusterclient2" compressEnable="true"
        defaultEncoding="UTF-8" socketpool="clusterpool2">

<errorHandler>com.alisoft.xplatform.asf.cache.memcached.MemcachedErrorHandler</e
rrorHandler>
    </client>

    <socketpool name="clusterpool1" failover="true" initConn="10" minConn="10"
        maxConn="250" maintSleep="0" nagle="false" socketTO="3000"
        aliveCheck="true">
        <servers>192.168.1.12:11200</servers>
    </socketpool>

    <socketpool name="clusterpool2" failover="true" initConn="10" minConn="10"
        maxConn="250" maintSleep="0" nagle="false" socketTO="3000"
        aliveCheck="true">
        <servers>192.168.1.18:11200</servers>
    </socketpool>
    <cluster name="cluster1" mode="active">
        <memCachedClients>clusterclient1,clusterclient2</memCachedClients>  
    </cluster>
</memcached>
每次重启memcached之后里面还会存留数据,为什么

Original issue reported on code.google.com by yikaiche...@hotmail.com on 15 Dec 2009 at 1:32

GoogleCodeExporter commented 9 years ago
这是客户端...

Original comment by cenwen...@gmail.com on 10 Jan 2010 at 3:13