TD-1397
This commit is contained in:
parent
528521075a
commit
add82236f6
|
@ -612,8 +612,8 @@ static int sdbWrite(void *param, void *data, int type) {
|
||||||
} else if (action == SDB_ACTION_DELETE) {
|
} else if (action == SDB_ACTION_DELETE) {
|
||||||
void *pRow = sdbGetRowMeta(pTable, pHead->cont);
|
void *pRow = sdbGetRowMeta(pTable, pHead->cont);
|
||||||
if (pRow == NULL) {
|
if (pRow == NULL) {
|
||||||
sdbError("table:%s, failed to get object:%s from wal while dispose delete action", pTable->tableName,
|
sdbDebug("table:%s, object:%s not exist in hash, ignore delete action", pTable->tableName,
|
||||||
pHead->cont);
|
sdbGetKeyStr(pTable, pHead->cont));
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
SSdbOper oper = {.table = pTable, .pObj = pRow};
|
SSdbOper oper = {.table = pTable, .pObj = pRow};
|
||||||
|
@ -621,8 +621,8 @@ static int sdbWrite(void *param, void *data, int type) {
|
||||||
} else if (action == SDB_ACTION_UPDATE) {
|
} else if (action == SDB_ACTION_UPDATE) {
|
||||||
void *pRow = sdbGetRowMeta(pTable, pHead->cont);
|
void *pRow = sdbGetRowMeta(pTable, pHead->cont);
|
||||||
if (pRow == NULL) {
|
if (pRow == NULL) {
|
||||||
sdbError("table:%s, failed to get object:%s from wal while dispose update action", pTable->tableName,
|
sdbError("table:%s, object:%s not exist in hash, ignore update action", pTable->tableName,
|
||||||
pHead->cont);
|
sdbGetKeyStr(pTable, pHead->cont));
|
||||||
return TSDB_CODE_SUCCESS;
|
return TSDB_CODE_SUCCESS;
|
||||||
}
|
}
|
||||||
SSdbOper oper = {.rowSize = pHead->len, .rowData = pHead->cont, .table = pTable};
|
SSdbOper oper = {.rowSize = pHead->len, .rowData = pHead->cont, .table = pTable};
|
||||||
|
|
|
@ -14,10 +14,10 @@ print $data00 $data01 $data02 $data03 $data04 $data05 $data06
|
||||||
if $data00 != root then
|
if $data00 != root then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
if $data02 != 3/10 then
|
if $data02 != 3/128 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
if $data03 != 0/64 then
|
if $data03 != 0/128 then
|
||||||
return -1
|
return -1
|
||||||
endi
|
endi
|
||||||
if $data04 != 0/2147483647 then
|
if $data04 != 0/2147483647 then
|
||||||
|
|
Loading…
Reference in New Issue