client-rust icon indicating copy to clipboard operation
client-rust copied to clipboard

CheckNotExists is checked in the prewrite phase and should not appear in the commit phase.

Open gfreezy opened this issue 4 years ago • 3 comments

fixed #315

When we set the primary key of a transaction, the corresponding operation must not be CheckNotExists.

@ekexium CheckNotExists is already checked when set primary key.

gfreezy avatar Aug 24 '21 06:08 gfreezy

The change itself looks good to me.

I'd prefer to fix the primary key issue and add a test in the same PR to close #315 .

ekexium avatar Aug 24 '21 11:08 ekexium

Can we merge it now?

andylokandy avatar Dec 07 '21 11:12 andylokandy

I think a test case is needed.

ekexium avatar Dec 07 '21 11:12 ekexium