不能停止,然后启动带磁盘存储的Geode服务器
我使用example config启动带有磁盘存储的Geode。然后,如果我停止服务器并重新启动它,我得到:不能停止,然后启动带磁盘存储的Geode服务器
异常线程“main” java.lang.IllegalStateException: Detected multiple disk store initialization files named "BACKUPDeal.if". This disk store directories must only contain one initialization file.
如果我删除了,如果文件,那么错误是:Exception in thread "main" java.lang.IllegalStateException: The init file "D:\deal\BACKUPdeal.if" does not exist. If it no longer exists then delete the following files to be able to create this disk store. Existing oplogs are: [D:\deal\BACKUPdeal_1.drf, D:\deal\BACKUPdeal_1.crf]
缺少什么我在这里?
的example config使用2个磁盘存储和我改名这些同一家商店,因此无法初始化2个磁盘存储出1.要解决这个问题,我删除从配置第二盘店,像这样:
<disk-store name="deal" compaction-threshold="40" auto-compact="false" allow-force-compaction="true" max-oplog-size="512" queue-size="10000" time-interval="15" write-buffer-size="65536" disk-usage-warning-percentage="80" disk-usage-critical-percentage="98"> <disk-dirs> <disk-dir>d:\deal</disk-dir> </disk-dirs> </disk-store>
您能否详细说明您正在运行的启动/停止服务器以及您使用的任何配置/属性的确切命令? –
@JensD其中' d:\交易 d:\交易 ' –
rupweb
AARGH所以它的使用相同的磁盘目录位置两次.... – rupweb