Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
badboynt1 committed Jan 8, 2025
1 parent 97f5a11 commit 6ddf3d2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/vm/engine/disttae/txn_table.go
Original file line number Diff line number Diff line change
Expand Up @@ -586,7 +586,7 @@ func (tbl *txnTable) Ranges(ctx context.Context, rangesParam engine.RangesParam)

func (tbl *txnTable) getObjList(ctx context.Context, rangesParam engine.RangesParam) (data engine.RelData, err error) {
needUncommited := rangesParam.Policy&engine.Policy_CollectUncommittedData != 0
objRelData := &engine_util.ObjListRelData{
objRelData := &readutil.ObjListRelData{
NeedFirstEmpty: needUncommited,
}

Expand All @@ -608,7 +608,7 @@ func (tbl *txnTable) getObjList(ctx context.Context, rangesParam engine.RangesPa

if err = ForeachSnapshotObjects(
tbl.db.op.SnapshotTS(),
func(obj logtailreplay.ObjectInfo, isCommitted bool) (err2 error) {
func(obj objectio.ObjectEntry, isCommitted bool) (err2 error) {
//if need to shuffle objects
if plan2.ShouldSkipObjByShuffle(rangesParam.Rsp, &obj.ObjectStats) {
return
Expand Down
4 changes: 4 additions & 0 deletions pkg/vm/engine/readutil/relation_data.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@ func (rd *EmptyRelationData) GetShardIDList() []uint64 {
panic("not supported")
}

func (rd *EmptyRelationData) Split(_ int) []engine.RelData {
panic("not supported")
}

func (rd *EmptyRelationData) GetShardID(i int) uint64 {
panic("not supported")
}
Expand Down

0 comments on commit 6ddf3d2

Please sign in to comment.