Skip to content

Commit

Permalink
planner: update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zimulala committed Sep 5, 2024
1 parent 7acccf0 commit 0fce721
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions pkg/ddl/index.go
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,6 @@ func (w *worker) checkVectorIndexProcess(tbl table.Table, reorgInfo *reorgInfo)

// checkVectorIndexProcessOnce checks the backfill process of a vector index from TiFlash once.
func (w *worker) checkVectorIndexProcessOnce(jobCtx *jobContext, tbl table.Table, indexID int64) (bool, int64, error) {
logutil.DDLLogger().Warn("xxxxxxxxxxxx--------------------------------------------------- 00")
failpoint.Inject("MockCheckVectorIndexProcess", func(val failpoint.Value) {
if valInt, ok := val.(int); ok {
if valInt == -1 {
Expand All @@ -913,8 +912,6 @@ func (w *worker) checkVectorIndexProcessOnce(jobCtx *jobContext, tbl table.Table
}
})

logutil.DDLLogger().Warn("xxxxxxxxxxxx--------------------------------------------------- 11")

// TODO: Wait support tiflash_indexes, otherwise it will return an error.
// TODO: We need to add error_msg and error_count for to show error information.
sql := fmt.Sprintf("select rows_stable_not_indexed, rows_stable_indexed from information_schema.tiflash_indexes where table_id = %d and index_id = %d;",
Expand Down

0 comments on commit 0fce721

Please sign in to comment.