@@ -14,9 +14,9 @@ import (
14
14
"sync"
15
15
"time"
16
16
17
+ "github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/cdcprogresspb"
17
18
"github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/cdcutils"
18
19
"github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/changefeedbase"
19
- "github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/changefeedpb"
20
20
"github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/checkpoint"
21
21
"github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/kvevent"
22
22
"github.com/cockroachdb/cockroach/pkg/ccl/changefeedccl/kvfeed"
@@ -1868,7 +1868,7 @@ func (cf *changeFrontier) checkpointJobProgress(
1868
1868
1869
1869
// Write per-table progress if enabled.
1870
1870
if cf .spec .ProgressConfig != nil && cf .spec .ProgressConfig .PerTableTracking {
1871
- resolvedTables := & changefeedpb .ResolvedTables {
1871
+ resolvedTables := & cdcprogresspb .ResolvedTables {
1872
1872
Tables : make (map [descpb.ID ]hlc.Timestamp ),
1873
1873
}
1874
1874
for tableID , tableFrontier := range cf .frontier .Frontiers () {
@@ -1930,7 +1930,7 @@ func (cf *changeFrontier) manageProtectedTimestamps(
1930
1930
}
1931
1931
}()
1932
1932
1933
- var ptsEntries changefeedpb .ProtectedTimestampRecords
1933
+ var ptsEntries cdcprogresspb .ProtectedTimestampRecords
1934
1934
if err := readChangefeedJobInfo (ctx , perTableProtectedTimestampsFilename , & ptsEntries , txn , cf .spec .JobID ); err != nil {
1935
1935
return false , err
1936
1936
}
@@ -1961,7 +1961,7 @@ func (cf *changeFrontier) manageProtectedTimestamps(
1961
1961
func (cf * changeFrontier ) managePerTableProtectedTimestamps (
1962
1962
ctx context.Context ,
1963
1963
txn isql.Txn ,
1964
- ptsEntries * changefeedpb .ProtectedTimestampRecords ,
1964
+ ptsEntries * cdcprogresspb .ProtectedTimestampRecords ,
1965
1965
highwater hlc.Timestamp ,
1966
1966
) (newPTS hlc.Timestamp , updatedPerTablePTS bool , err error ) {
1967
1967
var leastLaggingTimestamp hlc.Timestamp
@@ -2036,7 +2036,7 @@ func (cf *changeFrontier) managePerTableProtectedTimestamps(
2036
2036
func (cf * changeFrontier ) releasePerTableProtectedTimestampRecords (
2037
2037
ctx context.Context ,
2038
2038
txn isql.Txn ,
2039
- ptsEntries * changefeedpb .ProtectedTimestampRecords ,
2039
+ ptsEntries * cdcprogresspb .ProtectedTimestampRecords ,
2040
2040
tableIDs []descpb.ID ,
2041
2041
pts protectedts.Storage ,
2042
2042
) error {
@@ -2051,7 +2051,7 @@ func (cf *changeFrontier) releasePerTableProtectedTimestampRecords(
2051
2051
2052
2052
func (cf * changeFrontier ) advancePerTableProtectedTimestampRecord (
2053
2053
ctx context.Context ,
2054
- ptsEntries * changefeedpb .ProtectedTimestampRecords ,
2054
+ ptsEntries * cdcprogresspb .ProtectedTimestampRecords ,
2055
2055
tableID descpb.ID ,
2056
2056
tableHighWater hlc.Timestamp ,
2057
2057
pts protectedts.Storage ,
@@ -2075,7 +2075,7 @@ func (cf *changeFrontier) advancePerTableProtectedTimestampRecord(
2075
2075
func (cf * changeFrontier ) createPerTableProtectedTimestampRecord (
2076
2076
ctx context.Context ,
2077
2077
txn isql.Txn ,
2078
- ptsEntries * changefeedpb .ProtectedTimestampRecords ,
2078
+ ptsEntries * cdcprogresspb .ProtectedTimestampRecords ,
2079
2079
tableID descpb.ID ,
2080
2080
tableHighWater hlc.Timestamp ,
2081
2081
pts protectedts.Storage ,
0 commit comments