Skip to content

Commit c0b904a

Browse files
craig[bot]stevendanna
andcommitted
Merge #150305
150305: crosscluster: fixup a few typos r=stevendanna a=stevendanna I found these when reading this function to verify that it didn't have a bug that was recently found in a similar function elsewhere in the code (it doesn't seem to). Epic: none Release note: none Co-authored-by: Steven Danna <[email protected]>
2 parents 9f65e78 + c4c7a4c commit c0b904a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/crosscluster/physical/stream_ingestion_processor.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1114,8 +1114,8 @@ func splitRangeKeySSTAtKey(
11141114
// reachedSplit tracks if we've already reached our split key.
11151115
reachedSplit = false
11161116

1117-
// We start writting into the left side. Eventualy
1118-
// we'll swap in the RHS writer.
1117+
// We start writing into the left side. Eventually we'll swap in the RHS
1118+
// writer.
11191119
leftWriter = storage.MakeIngestionSSTWriter(ctx, st, left)
11201120
rightWriter = storage.MakeIngestionSSTWriter(ctx, st, right)
11211121
writer = &leftWriter
@@ -1128,7 +1128,7 @@ func splitRangeKeySSTAtKey(
11281128
return err
11291129
}
11301130
if first == nil || last == nil {
1131-
return errors.AssertionFailedf("likely prorgramming error: invalid SST bounds on RHS [%v, %v)", first, last)
1131+
return errors.AssertionFailedf("likely programming error: invalid SST bounds on RHS [%v, %v)", first, last)
11321132
}
11331133

11341134
leftRet = &rangeKeySST{start: first, end: last, data: left.Data()}

0 commit comments

Comments
 (0)