ITeye博客

redis

共 2 篇文章

Error moving temp DB file on the final destination: Invalid cross-device link

Error moving temp DB file on the final destination: Invalid cross-device link dbfilename /data1/redisdata/dump.rdb 路径需要同文件系统,否则无法写入dump.rdb文件 ? /** Save the DB on disk. Return REDIS_ERR on error, REDIS_OK on success */ 0405 int rdbSave(char *filename) { 0406 dictIterator *di = NULL; 0407 dictEntry …

2011-07-18 15:57 · redis

SLAVEOF host port

The SLAVEOF command can change the replication settings of a slave on the fly. If a Redis server is already acting as slave, the command SLAVEOF NO ONE will turn off the replication turning the Redis server into a MASTER. In the proper form SLAVEOF hostname port will make the server a slave of the …

2011-07-18 13:54 · redis