Details
-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Untriaged
-
0
-
Unknown
Description
For delete op, there is no meta or value, but ValidateBatch would still validate batch has meta and value.
@@ -626,12 +635,14 @@ Status MagmaKVStore::validateBatch(CRecord* recs, size_t nrecs) {
if (!IsValidKey(&recs[i].Key))
if (!IsValidVal(&recs[i].Val))
{ return Status(Status::Code::Invalid, "Invalid Batch Val"); }if (!IsValidMeta(&recs[i].Meta))
{ return Status(Status::Code::Invalid, "Invalid Batch Meta"); }}
Attachments
For Gerrit Dashboard: MB-62548 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
212072,5 | MB-62548 capi: Fix validateBatch and remove depreacted meta field | master | magma | Status: MERGED | +2 | +1 |
212073,5 | MB-62548 remove deprecated crecord meta field | main | bhive | Status: MERGED | +2 | +1 |
213708,2 | [BP] MB-62548 capi: Fix validateBatch and remove depreacted meta field | cypher | magma | Status: MERGED | +2 | +1 |