Skip to content

Prevent reading records from different index when merging temp index #45847

@tangenta

Description

@tangenta

Enhancement

From #45679 (comment):

prefix = t.IndexPrefix()

t.IndexPrefix() is the key like t[tableID]_i. If we use t.IndexPrefix().PrefixNext() here, endKey will be t[tableID]_j?

As a result, we will scan the index records from all indexes.

Metadata

Metadata

Assignees

Labels

type/enhancementThe issue or PR belongs to an enhancement.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions