Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
镜像
OpenAtomFoundation
pika
提交
bc490ab4
pika
项目概览
镜像
/
OpenAtomFoundation
/
pika
11 个月 前同步成功
通知
0
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
pika
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
bc490ab4
编写于
11月 30, 2016
作者:
C
CatKang
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of github.com:Qihoo360/pika
上级
1a120c53
d1095c49
变更
69
隐藏空白更改
内联
并排
Showing
69 changed file
with
346 addition
and
1 deletion
+346
-1
include/pika_admin.h
include/pika_admin.h
+5
-0
include/pika_binlog.h
include/pika_binlog.h
+5
-0
include/pika_binlog_bgworker.h
include/pika_binlog_bgworker.h
+5
-0
include/pika_binlog_receiver_thread.h
include/pika_binlog_receiver_thread.h
+5
-0
include/pika_binlog_sender_thread.h
include/pika_binlog_sender_thread.h
+5
-0
include/pika_bit.h
include/pika_bit.h
+5
-0
include/pika_client_conn.h
include/pika_client_conn.h
+5
-0
include/pika_command.h
include/pika_command.h
+5
-0
include/pika_conf.h
include/pika_conf.h
+5
-0
include/pika_define.h
include/pika_define.h
+5
-0
include/pika_dispatch_thread.h
include/pika_dispatch_thread.h
+5
-0
include/pika_hash.h
include/pika_hash.h
+5
-0
include/pika_heartbeat_conn.h
include/pika_heartbeat_conn.h
+5
-0
include/pika_heartbeat_thread.h
include/pika_heartbeat_thread.h
+5
-0
include/pika_kv.h
include/pika_kv.h
+5
-0
include/pika_list.h
include/pika_list.h
+5
-0
include/pika_master_conn.h
include/pika_master_conn.h
+5
-0
include/pika_monitor_thread.h
include/pika_monitor_thread.h
+5
-0
include/pika_server.h
include/pika_server.h
+5
-0
include/pika_set.h
include/pika_set.h
+5
-0
include/pika_slaveping_thread.h
include/pika_slaveping_thread.h
+5
-0
include/pika_trysync_thread.h
include/pika_trysync_thread.h
+5
-0
include/pika_worker_thread.h
include/pika_worker_thread.h
+5
-0
include/pika_zset.h
include/pika_zset.h
+5
-0
src/pika.cc
src/pika.cc
+5
-0
src/pika_admin.cc
src/pika_admin.cc
+5
-0
src/pika_binlog.cc
src/pika_binlog.cc
+5
-0
src/pika_binlog_bgworker.cc
src/pika_binlog_bgworker.cc
+5
-0
src/pika_binlog_receiver_thread.cc
src/pika_binlog_receiver_thread.cc
+5
-0
src/pika_binlog_sender_thread.cc
src/pika_binlog_sender_thread.cc
+5
-0
src/pika_bit.cc
src/pika_bit.cc
+5
-0
src/pika_client_conn.cc
src/pika_client_conn.cc
+5
-0
src/pika_command.cc
src/pika_command.cc
+5
-0
src/pika_conf.cc
src/pika_conf.cc
+5
-0
src/pika_dispatch_thread.cc
src/pika_dispatch_thread.cc
+5
-0
src/pika_hash.cc
src/pika_hash.cc
+5
-0
src/pika_heartbeat_conn.cc
src/pika_heartbeat_conn.cc
+5
-0
src/pika_heartbeat_thread.cc
src/pika_heartbeat_thread.cc
+5
-0
src/pika_kv.cc
src/pika_kv.cc
+6
-1
src/pika_list.cc
src/pika_list.cc
+5
-0
src/pika_master_conn.cc
src/pika_master_conn.cc
+5
-0
src/pika_monitor_thread.cc
src/pika_monitor_thread.cc
+5
-0
src/pika_server.cc
src/pika_server.cc
+5
-0
src/pika_set.cc
src/pika_set.cc
+5
-0
src/pika_slaveping_thread.cc
src/pika_slaveping_thread.cc
+5
-0
src/pika_trysync_thread.cc
src/pika_trysync_thread.cc
+5
-0
src/pika_worker_thread.cc
src/pika_worker_thread.cc
+5
-0
src/pika_zset.cc
src/pika_zset.cc
+5
-0
tools/binlog_sync/binlog.cc
tools/binlog_sync/binlog.cc
+5
-0
tools/binlog_sync/binlog.h
tools/binlog_sync/binlog.h
+5
-0
tools/binlog_sync/binlog_receiver_thread.cc
tools/binlog_sync/binlog_receiver_thread.cc
+5
-0
tools/binlog_sync/binlog_receiver_thread.h
tools/binlog_sync/binlog_receiver_thread.h
+5
-0
tools/binlog_sync/binlog_sync.cc
tools/binlog_sync/binlog_sync.cc
+5
-0
tools/binlog_sync/binlog_sync.h
tools/binlog_sync/binlog_sync.h
+5
-0
tools/binlog_sync/main.cc
tools/binlog_sync/main.cc
+5
-0
tools/binlog_sync/master_conn.cc
tools/binlog_sync/master_conn.cc
+5
-0
tools/binlog_sync/master_conn.h
tools/binlog_sync/master_conn.h
+5
-0
tools/binlog_sync/slaveping_thread.cc
tools/binlog_sync/slaveping_thread.cc
+5
-0
tools/binlog_sync/slaveping_thread.h
tools/binlog_sync/slaveping_thread.h
+5
-0
tools/binlog_sync/trysync_thread.cc
tools/binlog_sync/trysync_thread.cc
+5
-0
tools/binlog_sync/trysync_thread.h
tools/binlog_sync/trysync_thread.h
+5
-0
tools/binlog_tools/binlog.cc
tools/binlog_tools/binlog.cc
+5
-0
tools/binlog_tools/binlog.h
tools/binlog_tools/binlog.h
+5
-0
tools/binlog_tools/binlog_consumer.cc
tools/binlog_tools/binlog_consumer.cc
+5
-0
tools/binlog_tools/binlog_consumer.h
tools/binlog_tools/binlog_consumer.h
+5
-0
tools/binlog_tools/binlog_parser.cc
tools/binlog_tools/binlog_parser.cc
+5
-0
tools/binlog_tools/binlog_producer.cc
tools/binlog_tools/binlog_producer.cc
+5
-0
tools/binlog_tools/binlog_producer.h
tools/binlog_tools/binlog_producer.h
+5
-0
tools/binlog_tools/binlog_sender.cc
tools/binlog_tools/binlog_sender.cc
+5
-0
未找到文件。
include/pika_admin.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_ADMIN_H_
#define PIKA_ADMIN_H_
#include "pika_command.h"
...
...
include/pika_binlog.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_BINLOG_H_
#define PIKA_BINLOG_H_
...
...
include/pika_binlog_bgworker.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_BINLOG_BGWORKER_H_
#define PIKA_BINLOG_BGWORKER_H_
#include "pika_command.h"
...
...
include/pika_binlog_receiver_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_BINLOG_RECEIVER_THREAD_H_
#define PIKA_BINLOG_RECEIVER_THREAD_H_
...
...
include/pika_binlog_sender_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_BINLOG_SENDER_THREAD_H_
#define PIKA_BINLOG_SENDER_THREAD_H_
...
...
include/pika_bit.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_BIT_H_
#define PIKA_BIT_H_
#include "pika_command.h"
...
...
include/pika_client_conn.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_CLIENT_CONN_H_
#define PIKA_CLIENT_CONN_H_
...
...
include/pika_command.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_COMMAND_H_
#define PIKA_COMMAND_H_
...
...
include/pika_conf.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_CONF_H_
#define PIKA_CONF_H_
#include <pthread.h>
...
...
include/pika_define.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_DEFINE_H_
#define PIKA_DEFINE_H_
...
...
include/pika_dispatch_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_DISPATCH_THREAD_H_
#define PIKA_DISPATCH_THREAD_H_
...
...
include/pika_hash.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_HASH_H_
#define PIKA_HASH_H_
#include "pika_command.h"
...
...
include/pika_heartbeat_conn.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_HEARTBEAT_CONN_H_
#define PIKA_HEARTBEAT_CONN_H_
...
...
include/pika_heartbeat_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_HEARTBEAT_THREAD_H_
#define PIKA_HEARTBEAT_THREAD_H_
...
...
include/pika_kv.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_KV_H_
#define PIKA_KV_H_
#include "pika_command.h"
...
...
include/pika_list.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_LIST_H_
#define PIKA_LIST_H_
#include "pika_command.h"
...
...
include/pika_master_conn.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_MASTER_CONN_H_
#define PIKA_MASTER_CONN_H_
...
...
include/pika_monitor_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_MONITOR_THREAD_H_
#define PIKA_MONITOR_THREAD_H_
#include <map>
...
...
include/pika_server.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_SERVER_H_
#define PIKA_SERVER_H_
...
...
include/pika_set.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_SET_H_
#define PIKA_SET_H_
#include "pika_command.h"
...
...
include/pika_slaveping_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_SLAVEPING_THREAD_H_
#define PIKA_SLAVEPING_THREAD_H_
...
...
include/pika_trysync_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_TRYSYNC_THREAD_H_
#define PIKA_TRYSYNC_THREAD_H_
...
...
include/pika_worker_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_WORKER_THREAD_H_
#define PIKA_WORKER_THREAD_H_
...
...
include/pika_zset.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_ZSET_H_
#define PIKA_ZSET_H_
#include "pika_command.h"
...
...
src/pika.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <sys/resource.h>
#include "pika_server.h"
...
...
src/pika_admin.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "slash_string.h"
#include "rsync.h"
#include "pika_conf.h"
...
...
src/pika_binlog.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "pika_binlog.h"
#include <iostream>
...
...
src/pika_binlog_bgworker.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "pika_binlog_bgworker.h"
#include "pika_server.h"
#include "pika_conf.h"
...
...
src/pika_binlog_receiver_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "pika_binlog_receiver_thread.h"
#include "pika_master_conn.h"
...
...
src/pika_binlog_sender_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "pika_binlog_sender_thread.h"
#include <glog/logging.h>
...
...
src/pika_bit.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <limits>
#include "slash_string.h"
#include "nemo.h"
...
...
src/pika_client_conn.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <sstream>
#include <vector>
#include <algorithm>
...
...
src/pika_command.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "pika_admin.h"
#include "pika_kv.h"
#include "pika_hash.h"
...
...
src/pika_conf.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "sys/stat.h"
#include "pika_conf.h"
#include "glog/logging.h"
...
...
src/pika_dispatch_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "pika_dispatch_thread.h"
#include "pika_client_conn.h"
...
...
src/pika_hash.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "slash_string.h"
#include "nemo.h"
#include "pika_hash.h"
...
...
src/pika_heartbeat_conn.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "pika_heartbeat_conn.h"
#include "pika_server.h"
...
...
src/pika_heartbeat_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "pika_heartbeat_thread.h"
#include "pika_heartbeat_conn.h"
...
...
src/pika_kv.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "slash_string.h"
#include "nemo.h"
#include "pika_kv.h"
...
...
@@ -497,7 +502,7 @@ void StrlenCmd::DoInitial(PikaCmdArgsType &argv, const CmdInfo* const ptr_info)
void
StrlenCmd
::
Do
()
{
int64_t
len
=
0
;
nemo
::
Status
s
=
g_pika_server
->
db
()
->
Strlen
(
key_
,
&
len
);
if
(
s
.
ok
())
{
if
(
s
.
ok
()
||
s
.
IsNotFound
()
)
{
res_
.
AppendInteger
(
len
);
}
else
{
res_
.
SetRes
(
CmdRes
::
kErrOther
,
s
.
ToString
());
...
...
src/pika_list.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <vector>
#include "slash_string.h"
#include "nemo.h"
...
...
src/pika_master_conn.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "pika_master_conn.h"
#include "pika_server.h"
...
...
src/pika_monitor_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <string>
#include <utility>
#include <sys/time.h>
...
...
src/pika_server.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <fstream>
#include <glog/logging.h>
#include <assert.h>
...
...
src/pika_set.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "slash_string.h"
#include "nemo.h"
#include "pika_set.h"
...
...
src/pika_slaveping_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <poll.h>
#include "pika_slaveping_thread.h"
...
...
src/pika_trysync_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <fstream>
#include <glog/logging.h>
#include <poll.h>
...
...
src/pika_worker_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "pika_worker_thread.h"
#include "pika_conf.h"
...
...
src/pika_zset.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "slash_string.h"
#include "nemo.h"
#include "pika_zset.h"
...
...
tools/binlog_sync/binlog.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "binlog.h"
#include <iostream>
...
...
tools/binlog_sync/binlog.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef BINLOG_H_
#define BINLOG_H_
...
...
tools/binlog_sync/binlog_receiver_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "binlog_receiver_thread.h"
#include "master_conn.h"
...
...
tools/binlog_sync/binlog_receiver_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef BINLOG_RECEIVER_THREAD_H_
#define BINLOG_RECEIVER_THREAD_H_
...
...
tools/binlog_sync/binlog_sync.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <assert.h>
#include <sys/ioctl.h>
...
...
tools/binlog_sync/binlog_sync.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef BINLOG_SYNC_H_
#define BINLOG_SYNC_H_
...
...
tools/binlog_sync/main.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <random>
#include "binlog_sync.h"
...
...
tools/binlog_sync/master_conn.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include "master_conn.h"
#include "binlog_receiver_thread.h"
...
...
tools/binlog_sync/master_conn.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef MASTER_CONN_H_
#define MASTER_CONN_H_
...
...
tools/binlog_sync/slaveping_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <poll.h>
#include "slaveping_thread.h"
...
...
tools/binlog_sync/slaveping_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef SLAVEPING_THREAD_H_
#define SLAVEPING_THREAD_H_
...
...
tools/binlog_sync/trysync_thread.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <fstream>
#include <glog/logging.h>
#include <poll.h>
...
...
tools/binlog_sync/trysync_thread.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef TRYSYNC_THREAD_H_
#define TRYSYNC_THREAD_H_
...
...
tools/binlog_tools/binlog.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "binlog.h"
#include <iostream>
...
...
tools/binlog_tools/binlog.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_TOOLS_BINLOGTOOLS_BINLOG_H_
#define PIKA_TOOLS_BINLOGTOOLS_BINLOG_H_
...
...
tools/binlog_tools/binlog_consumer.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "binlog_consumer.h"
...
...
tools/binlog_tools/binlog_consumer.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_TOOLS_BINLOGTOOLS_BINLOG_CONSUMER_H_
#define PIKA_TOOLS_BINLOGTOOLS_BINLOG_CONSUMER_H_
...
...
tools/binlog_tools/binlog_parser.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <iostream>
...
...
tools/binlog_tools/binlog_producer.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include "binlog_producer.h"
...
...
tools/binlog_tools/binlog_producer.h
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#ifndef PIKA_TOOLS_BINLOGTOOLS_BINLOG_PRODUCER_H_
#define PIKA_TOOLS_BINLOGTOOLS_BINLOG_PRODUCER_H_
...
...
tools/binlog_tools/binlog_sender.cc
浏览文件 @
bc490ab4
// Copyright (c) 2015-present, Qihoo, Inc. All rights reserved.
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
#include <glog/logging.h>
#include <iostream>
#include "redis_cli.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录