Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1b517de commit 90c7decCopy full SHA for 90c7dec
extern/redis-3.2.8/src/help.h
@@ -1085,6 +1085,10 @@ struct commandHelp {
1085
"-",
1086
"", 14, "codis3.2"
1087
},
1088
+ {"SLOTSMGRT-ASYNC-STATUS",
1089
+ "-",
1090
+ "", 14, "codis3.2"
1091
+ },
1092
{"SLOTSMGRT-EXEC-WRAPPER",
1093
"hashkey command [arg ...]",
1094
extern/redis-3.2.8/src/server.c
@@ -315,6 +315,7 @@ struct redisCommand redisCommandTable[] = {
315
{"slotsmgrttagone-async-dump",slotsmgrtTagOneAsyncDumpCommand,-4,"rm",0,NULL,0,0,0,0,0},
316
{"slotsmgrt-async-fence",slotsmgrtAsyncFenceCommand,0,"r",0,NULL,0,0,0,0,0},
317
{"slotsmgrt-async-cancel",slotsmgrtAsyncCancelCommand,0,"F",0,NULL,0,0,0,0,0},
318
+ {"slotsmgrt-async-status",slotsmgrtAsyncStatusCommand,0,"F",0,NULL,0,0,0,0,0},
319
{"slotsmgrt-exec-wrapper",slotsmgrtExecWrapperCommand,-3,"wm",0,NULL,0,0,0,0,0},
320
{"slotsmgrt-lazy-release",slotsmgrtLazyReleaseCommand,-1,"r",0,NULL,0,0,0,0,0},
321
{"slotsrestore-async",slotsrestoreAsyncCommand,-2,"w",0,NULL,0,0,0,0,0},
extern/redis-3.2.8/src/server.h
@@ -1700,6 +1700,7 @@ void slotsmgrtTagOneAsyncCommand(client *c);
1700
void slotsmgrtTagOneAsyncDumpCommand(client *c);
1701
void slotsmgrtAsyncFenceCommand(client *c);
1702
void slotsmgrtAsyncCancelCommand(client *c);
1703
+void slotsmgrtAsyncStatusCommand(client *c);
1704
void slotsmgrtExecWrapperCommand(client *c);
1705
void slotsmgrtLazyReleaseCommand(client *c);
1706
void slotsrestoreAsyncCommand(client *c);
extern/redis-3.2.8/src/slots_async.c
@@ -1286,6 +1286,31 @@ slotsmgrtAsyncCancelCommand(client *c) {
1286
addReplyLongLong(c, releaseSlotsmgrtAsyncClient(c->db->id, "interrupted: canceled"));
1287
}
1288
1289
+/* ============================ SlotsmgrtAsyncStatus ======================================= */
1290
+
1291
+static void
1292
+singleObjectIteratorStatus(client *c, singleObjectIterator *it) {
1293
+ // TODO
1294
+ (void)c;
1295
+ (void)it;
1296
+}
1297
1298
1299
+batchedObjectIteratorStatus(client *c, batchedObjectIterator *it) {
1300
1301
1302
1303
1304
1305
+/* *
1306
+ * SLOTSMGRT-ASYNC-STATUS
1307
+ * */
1308
+void
1309
+slotsmgrtAsyncStatusCommand(client *c) {
1310
1311
1312
1313
1314
/* ============================ SlotsmgrtExecWrapper ======================================= */
1315
1316
/* *
0 commit comments