mirror of https://github.com/tikv/client-go.git
* support set assertion in 2pc mutation Signed-off-by: lysu <sulifx@gmail.com> Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Receive assertion fail errors from TiKV Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add test log Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Remove verbose log Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * update kvproto Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add metrics counter for assertions Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Address some comments Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Try to optimize assertion for pessimistic transactions Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix panic on optimistic transactions Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add InitCheckExistence method for LockCtx Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Support assertion level Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Check assertion level before doing assertion on client side Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Test bitoperations of menBUfferMutations.Push Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add test for assertion in tikv Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Support run assertion test with unistore Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix test Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix license Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix test Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * export DeleteKey Signed-off-by: ekexium <ekexium@gmail.com> * Renaming DeleteKey Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * fix build Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Address comments Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Avoid panic when running with old version of TiKV; Add schema check on fast assertion Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add test for fast assertion Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add test for pessimistic lock check existence Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Test assertion takes no effect if amending is enabled Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add HasAssertUnknown function Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add comments Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Cleanup locks after assertion fail Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * update tidb dependency Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix panic in TestIllegalTSO Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Address comments Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Add comments Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Update dependency to tidb Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> * Fix test Signed-off-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: lysu <sulifx@gmail.com> Co-authored-by: MyonKeminta <MyonKeminta@users.noreply.github.com> Co-authored-by: ekexium <ekexium@gmail.com> |
||
|---|---|---|
| .. | ||
| error.go | ||