Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update module github.com/dgraph-io/ristretto to v0.1.0 #82

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jun 3, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Type Update Change
github.com/dgraph-io/ristretto require minor v0.0.3 -> v0.1.0

Release Notes

dgraph-io/ristretto

v0.1.0

Compare Source

0.1.0 - 2021-06-03

This release contains bug fixes and improvements to Ristretto. It also contains
major updates to the z package. The z package contains types such as Tree (B+
tree), Buffer, Mmap file, etc. All these types are used in Badger and Dgraph to
improve performance and reduce memory requirements.

Changed
  • Make item public. Add a new onReject call for rejected items. (#​180)
Added
  • Use z.Buffer backing for B+ tree (#​268)
  • expose GetTTL function (#​270)
  • docs(README): Ristretto is production-ready. (#​267)
  • Add IterateKV (#​265)
  • feat(super-flags): Add GetPath method in superflags (#​258)
  • add GetDuration to SuperFlag (#​248)
  • add Has, GetFloat64, and GetInt64 to SuperFlag (#​247)
  • move SuperFlag to Ristretto (#​246)
  • add SuperFlagHelp tool to generate flag help text (#​251)
  • allow empty defaults in SuperFlag (#​254)
  • add mmaped b+ tree (#​207)
  • Add API to allow the MaxCost of an existing cache to be updated. (#​200)
  • Add OnExit handler which can be used for manual memory management (#​183)
  • Add life expectancy histogram (#​182)
  • Add mechanism to wait for items to be processed. (#​184)
Fixed
  • change expiration type from int64 to time.Time (#​277)
  • fix(buffer): make buffer capacity atleast defaultCapacity (#​273)
  • Fixes for z.PersistentTree (#​272)
  • Initialize persistent tree correctly (#​271)
  • use xxhash v2 (#​266)
  • update comments to correctly reflect counter space usage (#​189)
  • enable riscv64 builds (#​264)
  • Switch from log to glog (#​263)
  • Use Fibonacci for latency numbers
  • cache: fix race when clearning a cache (#​261)
  • Check for keys without values in superflags (#​259)
  • chore(perf): using tags instead of runtime callers to improve the performance of leak detection (#​255)
  • fix(Flags): panic on user errors (#​256)
  • fix SuperFlagHelp newline (#​252)
  • fix(arm): Fix crashing under ARMv6 due to memory mis-alignment (#​239)
  • Fix incorrect unit test coverage depiction (#​245)
  • chore(histogram): adding percentile in histogram (#​241)
  • fix(windows): use filepath instead of path (#​244)
  • fix(MmapFile): Close the fd before deleting the file (#​242)
  • Fixes CGO_ENABLED=0 compilation error (#​240)
  • fix(build): fix build on non-amd64 architectures (#​238)
  • fix(b+tree): Do not double the size of btree (#​237)
  • fix(jemalloc): Fix the stats of jemalloc (#​236)
  • Don't print stuff, only return strings.
  • Bring memclrNoHeapPointers to z (#​235)
  • increase number of buffers from 32 to 64 in allocator (#​234)
  • Set minSize to 1MB.
  • Opt(btree): Use Go memory instead of mmap files
  • Opt(btree): Lightweight stats calculation
  • Put padding internally to z.Buffer
  • Chore(z): Add SetTmpDir API to set the temp directory (#​233)
  • Add a BufferFrom
  • Bring z.Allocator and z.AllocatorPool back
  • Fix(z.Allocator): Make Allocator use Go memory
  • Updated ZeroOut to use a simple for loop. (#​231)
  • Add concurrency back
  • Add a test to check concurrency of Allocator.
  • Fix(buffer): Expose padding by z.Buffer's APIs and fix test (#​222)
  • AllocateSlice should Truncate if the file is not big enough (#​226)
  • Zero out allocations for structs now that we're reusing Allocators.
  • Fix the ristretto substring
  • Deal with nil z.AllocatorPool
  • Create an AllocatorPool class.
  • chore(btree): clean NewTree API (#​225)
  • fix(MmapFile): Don't error out if fileSize > sz (#​224)
  • feat(btree): allow option to reset btree and mmaping it to specified file. (#​223)
  • Use mremap on Linux instead of munmap+mmap (#​221)
  • Reuse pages in B+ tree (#​220)
  • fix(allocator): make nil allocator return go byte slice (#​217)
  • fix(buffer): Make padding internal to z.buffer (#​216)
  • chore(buffer): add a parent directory field in z.Buffer (#​215)
  • Make Allocator concurrent
  • Fix infinite loop in allocator (#​214)
  • Add trim func
  • Use allocator pool. Turn off freelist.
  • Add freelists to Allocator to reuse.
  • make DeleteBelow delete values that are less than lo (#​211)
  • Avoid an unnecessary Load procedure in IncrementOffset.
  • Add Stats method in Btree.
  • chore(script): fix local test script (#​210)
  • fix(btree): Increase buffer size if needed. (#​209)
  • chore(btree): add occupancy ratio, search benchmark and compact bug fix (#​208)
  • Add licenses, remove prints, and fix a bug in compact
  • Add IncrementOffset API for z.buffers (#​206)
  • Show count when printing histogram (#​201)
  • Zbuffer: Add LenNoPadding and make padding 8 bytes (#​204)
  • Allocate Go memory in case allocator is nil.
  • Add leak detection via leak build flag and fix a leak during cache.Close.
  • Add some APIs for allocator and buffer
  • Sync before truncation or close.
  • Handle nil MmapFile for Sync.
  • Public methods must not panic after Close() (#​202)
  • Check for RD_ONLY correctly.
  • Modify MmapFile APIs
  • Add a bunch of APIs around MmapFile
  • Move APIs for mmapfile creation over to z package.
  • Add ZeroOut func
  • Add SliceOffsets
  • z: Add TotalSize method on bloom filter (#​197)
  • Add Msync func
  • Buffer: Use 256 GB mmap size instead of MaxInt64 (#​198)
  • Add a simple test to check next2Pow
  • Improve memory performance (#​195)
  • Have a way to automatically mmap a growing buffer (#​196)
  • Introduce Mmapped buffers and Merge Sort (#​194)
  • Add a way to access an allocator via reference.
  • Use jemalloc.a to ensure compilation with the Go binary
  • Fix up a build issue with ReadMemStats
  • Add ReadMemStats function (#​193)
  • Allocator helps allocate memory to be used by unsafe structs (#​192)
  • Improve histogram output
  • Move Closer from y to z (#​191)
  • Add histogram.Mean() method (#​188)
  • Introduce Calloc: Manual Memory Management via jemalloc (#​186)

Configuration

📅 Schedule: At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@codecov
Copy link

codecov bot commented Jun 3, 2021

Codecov Report

Merging #82 (2a3c474) into main (bf72105) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main      #82   +/-   ##
=======================================
  Coverage   14.81%   14.81%           
=======================================
  Files           2        2           
  Lines         108      108           
=======================================
  Hits           16       16           
  Misses         90       90           
  Partials        2        2           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update bf72105...2a3c474. Read the comment docs.

@estahn estahn enabled auto-merge (squash) June 14, 2021 23:24
@renovate renovate bot force-pushed the renovate/github.com-dgraph-io-ristretto-0.x branch 2 times, most recently from 8b661cd to afe58e6 Compare June 14, 2021 23:27
@renovate renovate bot force-pushed the renovate/github.com-dgraph-io-ristretto-0.x branch from afe58e6 to 2a3c474 Compare June 14, 2021 23:29
@estahn estahn merged commit dff1cb1 into main Jun 14, 2021
@estahn estahn deleted the renovate/github.com-dgraph-io-ristretto-0.x branch June 14, 2021 23:33
github-actions bot pushed a commit to DolevAlgam/k8s-image-swapper that referenced this pull request Jul 5, 2021
## [1.0.1](v1.0.0...v1.0.1) (2021-07-05)

### Bug Fixes

* **deps:** update module github.com/aws/aws-sdk-go to v1.38.47 ([estahn#70](https://github.com/DolevAlgam/k8s-image-swapper/issues/70)) ([4f30053](4f30053))
* **deps:** update module github.com/containers/image/v5 to v5.11.0 ([estahn#61](https://github.com/DolevAlgam/k8s-image-swapper/issues/61)) ([11d6d28](11d6d28))
* **deps:** update module github.com/dgraph-io/ristretto to v0.1.0 ([estahn#82](https://github.com/DolevAlgam/k8s-image-swapper/issues/82)) ([dff1cb1](dff1cb1))
* **deps:** update module github.com/rs/zerolog to v1.22.0 ([estahn#76](https://github.com/DolevAlgam/k8s-image-swapper/issues/76)) ([c098326](c098326))
* **deps:** update module github.com/rs/zerolog to v1.23.0 ([estahn#84](https://github.com/DolevAlgam/k8s-image-swapper/issues/84)) ([607d5bb](607d5bb))
* **deps:** update module k8s.io/apimachinery to v0.21.1 ([estahn#79](https://github.com/DolevAlgam/k8s-image-swapper/issues/79)) ([aeeeffb](aeeeffb))
github-actions bot pushed a commit that referenced this pull request Sep 30, 2021
# [1.1.0-alpha.1](v1.0.0...v1.1.0-alpha.1) (2021-09-30)

### Bug Fixes

* provide log record for ImageSwapPolicyExists ([179da70](179da70))
* timeout for ECR client ([26bdc10](26bdc10))
* **deps:** update module github.com/alitto/pond to v1.5.1 ([504e2dd](504e2dd))
* **deps:** update module github.com/aws/aws-sdk-go to v1.38.47 ([#70](#70)) ([4f30053](4f30053))
* **deps:** update module github.com/aws/aws-sdk-go to v1.40.43 ([266ef01](266ef01))
* **deps:** update module github.com/containers/image/v5 to v5.11.0 ([#61](#61)) ([11d6d28](11d6d28))
* **deps:** update module github.com/containers/image/v5 to v5.16.0 ([5230b91](5230b91))
* **deps:** update module github.com/dgraph-io/ristretto to v0.1.0 ([#82](#82)) ([dff1cb1](dff1cb1))
* **deps:** update module github.com/go-co-op/gocron to v1.9.0 ([c0e9f11](c0e9f11))
* **deps:** update module github.com/rs/zerolog to v1.22.0 ([#76](#76)) ([c098326](c098326))
* **deps:** update module github.com/rs/zerolog to v1.23.0 ([#84](#84)) ([607d5bb](607d5bb))
* **deps:** update module github.com/rs/zerolog to v1.25.0 ([72822f4](72822f4))
* **deps:** update module github.com/slok/kubewebhook to v2 ([8bd73d4](8bd73d4))
* **deps:** update module github.com/spf13/cobra to v1.2.1 ([ea1e787](ea1e787))
* **deps:** update module github.com/spf13/viper to v1.8.1 ([8a055a2](8a055a2))
* **deps:** update module k8s.io/api to v0.22.1 ([ab6d898](ab6d898))
* **deps:** update module k8s.io/apimachinery to v0.21.1 ([#79](#79)) ([aeeeffb](aeeeffb))
* **deps:** update module k8s.io/apimachinery to v0.22.2 ([ef72c66](ef72c66))

### Features

* Support for imagePullSecrets ([#112](#112)) ([2d8cf77](2d8cf77)), closes [#92](#92) [#19](#19)
@github-actions
Copy link
Contributor

🎉 This PR is included in version 1.1.0-alpha.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

estahn pushed a commit that referenced this pull request Oct 2, 2021
# [1.1.0-alpha.1](v1.0.0...v1.1.0-alpha.1) (2021-09-30)

### Bug Fixes

* provide log record for ImageSwapPolicyExists ([179da70](179da70))
* timeout for ECR client ([26bdc10](26bdc10))
* **deps:** update module github.com/alitto/pond to v1.5.1 ([504e2dd](504e2dd))
* **deps:** update module github.com/aws/aws-sdk-go to v1.38.47 ([#70](#70)) ([4f30053](4f30053))
* **deps:** update module github.com/aws/aws-sdk-go to v1.40.43 ([266ef01](266ef01))
* **deps:** update module github.com/containers/image/v5 to v5.11.0 ([#61](#61)) ([11d6d28](11d6d28))
* **deps:** update module github.com/containers/image/v5 to v5.16.0 ([5230b91](5230b91))
* **deps:** update module github.com/dgraph-io/ristretto to v0.1.0 ([#82](#82)) ([dff1cb1](dff1cb1))
* **deps:** update module github.com/go-co-op/gocron to v1.9.0 ([c0e9f11](c0e9f11))
* **deps:** update module github.com/rs/zerolog to v1.22.0 ([#76](#76)) ([c098326](c098326))
* **deps:** update module github.com/rs/zerolog to v1.23.0 ([#84](#84)) ([607d5bb](607d5bb))
* **deps:** update module github.com/rs/zerolog to v1.25.0 ([72822f4](72822f4))
* **deps:** update module github.com/slok/kubewebhook to v2 ([8bd73d4](8bd73d4))
* **deps:** update module github.com/spf13/cobra to v1.2.1 ([ea1e787](ea1e787))
* **deps:** update module github.com/spf13/viper to v1.8.1 ([8a055a2](8a055a2))
* **deps:** update module k8s.io/api to v0.22.1 ([ab6d898](ab6d898))
* **deps:** update module k8s.io/apimachinery to v0.21.1 ([#79](#79)) ([aeeeffb](aeeeffb))
* **deps:** update module k8s.io/apimachinery to v0.22.2 ([ef72c66](ef72c66))

### Features

* Support for imagePullSecrets ([#112](#112)) ([2d8cf77](2d8cf77)), closes [#92](#92) [#19](#19)
github-actions bot pushed a commit that referenced this pull request Oct 2, 2021
# [1.1.0](v1.0.0...v1.1.0) (2021-10-02)

### Bug Fixes

* provide log record for ImageSwapPolicyExists ([179da70](179da70))
* timeout for ECR client ([26bdc10](26bdc10))
* **deps:** update module github.com/alitto/pond to v1.5.1 ([504e2dd](504e2dd))
* **deps:** update module github.com/aws/aws-sdk-go to v1.38.47 ([#70](#70)) ([4f30053](4f30053))
* **deps:** update module github.com/aws/aws-sdk-go to v1.40.43 ([266ef01](266ef01))
* **deps:** update module github.com/containers/image/v5 to v5.11.0 ([#61](#61)) ([11d6d28](11d6d28))
* **deps:** update module github.com/containers/image/v5 to v5.16.0 ([5230b91](5230b91))
* **deps:** update module github.com/dgraph-io/ristretto to v0.1.0 ([#82](#82)) ([dff1cb1](dff1cb1))
* **deps:** update module github.com/go-co-op/gocron to v1.9.0 ([c0e9f11](c0e9f11))
* **deps:** update module github.com/rs/zerolog to v1.22.0 ([#76](#76)) ([c098326](c098326))
* **deps:** update module github.com/rs/zerolog to v1.23.0 ([#84](#84)) ([607d5bb](607d5bb))
* **deps:** update module github.com/rs/zerolog to v1.25.0 ([72822f4](72822f4))
* **deps:** update module github.com/slok/kubewebhook to v2 ([8bd73d4](8bd73d4))
* **deps:** update module github.com/spf13/cobra to v1.2.1 ([ea1e787](ea1e787))
* **deps:** update module github.com/spf13/viper to v1.8.1 ([8a055a2](8a055a2))
* **deps:** update module k8s.io/api to v0.22.1 ([ab6d898](ab6d898))
* **deps:** update module k8s.io/apimachinery to v0.21.1 ([#79](#79)) ([aeeeffb](aeeeffb))
* **deps:** update module k8s.io/apimachinery to v0.22.2 ([ef72c66](ef72c66))

### Features

* Support for imagePullSecrets ([#112](#112)) ([2d8cf77](2d8cf77)), closes [#92](#92) [#19](#19)
* Support for pod.spec.initContainers ([#118](#118)) ([725ff2c](725ff2c)), closes [#73](#73) [#96](#96)
@github-actions
Copy link
Contributor

github-actions bot commented Oct 2, 2021

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants