Skip to content

Commit

Permalink
vendor: bump Pebble to b33d6e173cae
Browse files Browse the repository at this point in the history
```
b33d6e17 internal/keyspan: remove bounds from FragmentIterator
07e7075b internal/keyspan: fix SeekLT bug
4c199d34 sstable: add scaffolding to enable sstable parallelism
338611b0 sstable: fix indexBlockBuf.shouldFlush by accounting for inflight data
8decd08c db: pool range-key iterator structs, remove Clone
d8ca1fc6 keyspan: implement Truncate in terms of Filter
5926e724 keyspan: add `keyspan.Filter`
7582b880 db,record: add internal metrics for throughput, latency and utilization
8b3db52b internal/keyspan: Emit empty spans where there are no range keys
4a0889f8 db: add IngestOperationStats for admission control
194770c8 internal/metamorphic/crossversion: add TestMetaCrossVersion
785bb36d internal/keyspan: clean up InterleavingIter
b9bcae65 db: generate delete compaction hints automatically in tests
4e77c077 db: update comment on L0StopWritesThreshold
99d8a549 internal/metamorphic: add support for an initial database state
e232404f vfs: add CloneSync, CloneSkip options for vfs.Clone
7accf3df internal/metamorphic: use a wal_dir within the data directory
886e91f6 internal/keyspan: tweak DefragmentReducer return types
31def7d7 db: add additional deletion only hint test case; update diagram
1793e521 sstable: enforce sstable size estimation invariants
e4927968 db: implement rangedel defragmentation using keyspan.DefragmentingIter
41895ae0 internal/keyspan: reduce over defragmented spans
c55c1d80 db: check ordering invariant for sublevel compactions
322f7e9c internal/keyspan: genercize masking
cca64783 compaction: add L0CompactionFileThreshold compaction trigger
5cd60640 db: respect changed filters in SetOptions
8cc87859 db: add additional table cache test for the Open function
c8e7d414 db: add range key count to table stats
ec4dcaa7 db: factor out some table stats helpers
fb7ccaa2 internal/arenaskl: Overflow fixes
53fd136b internal/keyspan: move and refactor range key iterators as FragmentIterators
c6ff6904 db: use sublevels for l0 manual compactions
8e8ff2be db: add Iterator.SetOptions for modifying iterator options
1b227d2c db: factor out point iterator initialization
3e86958e docs/rfc: flushable ingested sstable addition
0b5f42a0 internal/keyspan: Add LevelIter for range keys
d7fb4eb2 docs/rfc: flushable ingested sstable
92c22536 db: remove unused variable from loop
7ad3551b *: refactor keyspan.Span to represent a set of keys
```

Release note:
  • Loading branch information
nicktrav committed Apr 26, 2022
1 parent c676689 commit b2f1b39
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions DEPS.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1347,10 +1347,10 @@ def go_deps():
patches = [
"@com_github_cockroachdb_cockroach//build/patches:com_github_cockroachdb_pebble.patch",
],
sha256 = "5b3237c6bcbfc1085831ddf636ce4b4243211f754ceabe9b8fd9bf8962629a12",
strip_prefix = "github.com/cockroachdb/[email protected]20220322040433-6164579cf2cb",
sha256 = "dfa5ce136f7d8d40ddf24077323df27de81f0e1889c1058e4453c77cd8c2cb75",
strip_prefix = "github.com/cockroachdb/[email protected]20220426173801-b33d6e173cae",
urls = [
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20220322040433-6164579cf2cb.zip",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20220426173801-b33d6e173cae.zip",
],
)
go_repository(
Expand Down
2 changes: 1 addition & 1 deletion build/bazelutil/distdir_files.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ DISTDIR_FILES = {
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/gostdlib/com_github_cockroachdb_gostdlib-v1.13.0.zip": "b3d43d8f95edf65f73a5348f29e1159823cac64b148f8d3bb48340bf55d70872",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/logtags/com_github_cockroachdb_logtags-v0.0.0-20211118104740-dabe8e521a4f.zip": "1972c3f171f118add3fd9e64bcea6cbb9959a3b7fa0ada308e8a7310813fea74",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/panicparse/v2/com_github_cockroachdb_panicparse_v2-v2.0.0-20211103220158-604c82a44f1e.zip": "a51ff19f83c9a1e468b5d722d0857eb468d0f9baa29365e700c2e6ec24bd47a7",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20220322040433-6164579cf2cb.zip": "5b3237c6bcbfc1085831ddf636ce4b4243211f754ceabe9b8fd9bf8962629a12",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/pebble/com_github_cockroachdb_pebble-v0.0.0-20220426173801-b33d6e173cae.zip": "dfa5ce136f7d8d40ddf24077323df27de81f0e1889c1058e4453c77cd8c2cb75",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/redact/com_github_cockroachdb_redact-v1.1.3.zip": "7778b1e4485e4f17f35e5e592d87eb99c29e173ac9507801d000ad76dd0c261e",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/returncheck/com_github_cockroachdb_returncheck-v0.0.0-20200612231554-92cdbca611dd.zip": "ce92ba4352deec995b1f2eecf16eba7f5d51f5aa245a1c362dfe24c83d31f82b",
"https://storage.googleapis.com/cockroach-godeps/gomod/github.com/cockroachdb/sentry-go/com_github_cockroachdb_sentry_go-v0.6.1-cockroachdb.2.zip": "fbb2207d02aecfdd411b1357efe1192dbb827959e36b7cab7491731ac55935c9",
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ require (
github.com/cockroachdb/go-test-teamcity v0.0.0-20191211140407-cff980ad0a55
github.com/cockroachdb/gostdlib v1.13.0
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f
github.com/cockroachdb/pebble v0.0.0-20220322040433-6164579cf2cb
github.com/cockroachdb/pebble v0.0.0-20220426173801-b33d6e173cae
github.com/cockroachdb/redact v1.1.3
github.com/cockroachdb/returncheck v0.0.0-20200612231554-92cdbca611dd
github.com/cockroachdb/stress v0.0.0-20220310203902-58fb4627376e
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -454,8 +454,8 @@ github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f h1:6jduT9Hfc0n
github.com/cockroachdb/logtags v0.0.0-20211118104740-dabe8e521a4f/go.mod h1:Vz9DsVWQQhf3vs21MhPMZpMGSht7O/2vFW2xusFUVOs=
github.com/cockroachdb/panicparse/v2 v2.0.0-20211103220158-604c82a44f1e h1:FrERdkPlRj+v7fc+PGpey3GUiDGuTR5CsmLCA54YJ8I=
github.com/cockroachdb/panicparse/v2 v2.0.0-20211103220158-604c82a44f1e/go.mod h1:pMxsKyCewnV3xPaFvvT9NfwvDTcIx2Xqg0qL5Gq0SjM=
github.com/cockroachdb/pebble v0.0.0-20220322040433-6164579cf2cb h1:1JgeoLiHDlpa+AV6MU2qvDctffM9zoHiPRXOCvgOX2k=
github.com/cockroachdb/pebble v0.0.0-20220322040433-6164579cf2cb/go.mod h1:buxOO9GBtOcq1DiXDpIPYrmxY020K2A8lOrwno5FetU=
github.com/cockroachdb/pebble v0.0.0-20220426173801-b33d6e173cae h1:7lGpwt2wTBh7FApXTEdTDX5OFWsEg9CCe8wMlHJZDwA=
github.com/cockroachdb/pebble v0.0.0-20220426173801-b33d6e173cae/go.mod h1:buxOO9GBtOcq1DiXDpIPYrmxY020K2A8lOrwno5FetU=
github.com/cockroachdb/redact v1.0.8/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
github.com/cockroachdb/redact v1.1.3 h1:AKZds10rFSIj7qADf0g46UixK8NNLwWTNdCIGS5wfSQ=
github.com/cockroachdb/redact v1.1.3/go.mod h1:BVNblN9mBWFyMyqK1k3AAiSxhvhfK2oOZZ2lK+dpvRg=
Expand Down
2 changes: 1 addition & 1 deletion vendor
Submodule vendor updated 57 files
+75 −51 github.com/cockroachdb/pebble/batch.go
+88 −45 github.com/cockroachdb/pebble/compaction.go
+16 −16 github.com/cockroachdb/pebble/compaction_iter.go
+35 −4 github.com/cockroachdb/pebble/compaction_picker.go
+180 −101 github.com/cockroachdb/pebble/db.go
+24 −20 github.com/cockroachdb/pebble/error_iter.go
+14 −9 github.com/cockroachdb/pebble/external_iterator.go
+65 −32 github.com/cockroachdb/pebble/ingest.go
+8 −3 github.com/cockroachdb/pebble/internal/arenaskl/node.go
+1 −1 github.com/cockroachdb/pebble/internal/base/filenames.go
+25 −5 github.com/cockroachdb/pebble/internal/base/internal.go
+76 −0 github.com/cockroachdb/pebble/internal/base/metrics.go
+11 −0 github.com/cockroachdb/pebble/internal/base/options.go
+0 −61 github.com/cockroachdb/pebble/internal/bytealloc/bytealloc.go
+56 −170 github.com/cockroachdb/pebble/internal/keyspan/bound_iter.go
+416 −0 github.com/cockroachdb/pebble/internal/keyspan/defragment.go
+2 −2 github.com/cockroachdb/pebble/internal/keyspan/doc.go
+98 −0 github.com/cockroachdb/pebble/internal/keyspan/filter.go
+66 −57 github.com/cockroachdb/pebble/internal/keyspan/fragmenter.go
+14 −47 github.com/cockroachdb/pebble/internal/keyspan/get.go
+791 −0 github.com/cockroachdb/pebble/internal/keyspan/interleaving_iter.go
+19 −16 github.com/cockroachdb/pebble/internal/keyspan/internal_iter_shim.go
+98 −152 github.com/cockroachdb/pebble/internal/keyspan/iter.go
+407 −0 github.com/cockroachdb/pebble/internal/keyspan/level_iter.go
+196 −303 github.com/cockroachdb/pebble/internal/keyspan/merging_iter.go
+51 −189 github.com/cockroachdb/pebble/internal/keyspan/seek.go
+232 −53 github.com/cockroachdb/pebble/internal/keyspan/span.go
+43 −28 github.com/cockroachdb/pebble/internal/keyspan/truncate.go
+2 −0 github.com/cockroachdb/pebble/internal/manifest/version.go
+43 −0 github.com/cockroachdb/pebble/internal/rangedel/rangedel.go
+182 −138 github.com/cockroachdb/pebble/internal/rangekey/coalesce.go
+0 −450 github.com/cockroachdb/pebble/internal/rangekey/defragment.go
+0 −782 github.com/cockroachdb/pebble/internal/rangekey/interleaving_iter.go
+0 −231 github.com/cockroachdb/pebble/internal/rangekey/iter.go
+173 −172 github.com/cockroachdb/pebble/internal/rangekey/rangekey.go
+274 −62 github.com/cockroachdb/pebble/iterator.go
+18 −21 github.com/cockroachdb/pebble/level_checker.go
+1 −4 github.com/cockroachdb/pebble/level_iter.go
+29 −37 github.com/cockroachdb/pebble/mem_table.go
+17 −15 github.com/cockroachdb/pebble/merging_iter.go
+44 −0 github.com/cockroachdb/pebble/metrics.go
+1 −0 github.com/cockroachdb/pebble/open.go
+55 −11 github.com/cockroachdb/pebble/options.go
+35 −56 github.com/cockroachdb/pebble/range_keys.go
+100 −18 github.com/cockroachdb/pebble/record/log_writer.go
+211 −82 github.com/cockroachdb/pebble/sstable/block.go
+1 −7 github.com/cockroachdb/pebble/sstable/block_property.go
+5 −0 github.com/cockroachdb/pebble/sstable/options.go
+6 −5 github.com/cockroachdb/pebble/sstable/reader.go
+186 −144 github.com/cockroachdb/pebble/sstable/writer.go
+10 −8 github.com/cockroachdb/pebble/table_cache.go
+137 −125 github.com/cockroachdb/pebble/table_stats.go
+1 −1 github.com/cockroachdb/pebble/tool/db.go
+22 −18 github.com/cockroachdb/pebble/tool/find.go
+21 −19 github.com/cockroachdb/pebble/tool/sstable.go
+47 −2 github.com/cockroachdb/pebble/vfs/clone.go
+2 −2 modules.txt

0 comments on commit b2f1b39

Please sign in to comment.