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

Bump github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0 #8500

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 25, 2021

Bumps github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0.

Release notes

Sourced from github.com/dgraph-io/ristretto's releases.

v0.1.0

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)

... (truncated)

Changelog

Sourced from github.com/dgraph-io/ristretto's changelog.

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)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@KSerrania
Copy link
Contributor

Used in pkg/trace/obfuscate.

@mx-psi mx-psi modified the milestones: Triage, 7.31.0 Aug 2, 2021
@mx-psi mx-psi requested a review from a team August 2, 2021 07:41
@mx-psi
Copy link
Member

mx-psi commented Aug 2, 2021

@dependabot rebase

Bumps [github.com/dgraph-io/ristretto](https://github.com/dgraph-io/ristretto) from 0.0.3 to 0.1.0.
- [Release notes](https://github.com/dgraph-io/ristretto/releases)
- [Changelog](https://github.com/dgraph-io/ristretto/blob/master/CHANGELOG.md)
- [Commits](dgraph-io/ristretto@v0.0.3...v0.1.0)

---
updated-dependencies:
- dependency-name: github.com/dgraph-io/ristretto
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/go_modules/github.com/dgraph-io/ristretto-0.1.0 branch from 9c20a56 to fef3126 Compare August 2, 2021 10:50
@mx-psi mx-psi merged commit dad900a into main Aug 2, 2021
@mx-psi mx-psi deleted the dependabot/go_modules/github.com/dgraph-io/ristretto-0.1.0 branch August 2, 2021 11:22
L3n41c added a commit that referenced this pull request Aug 27, 2021
To fix the following failure:
```
panic: Failed to load netapi32.dll: The specified module could not be found.

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(...)
	c:/go/src/syscall/dll_windows.go:320
syscall.(*LazyProc).Addr(...)
	c:/go/src/syscall/dll_windows.go:327
syscall.NetGetJoinInformation(0x0, 0xc00061fa48, 0xc00061fa44, 0x16, 0xc0000c96e0)
	c:/go/src/syscall/zsyscall_windows.go:1804 +0x107
os/user.isDomainJoined(0xc00061faa0, 0xf3624e, 0x0)
	c:/go/src/os/user/lookup_windows.go:18 +0x5a
os/user.lookupFullName(0xc000063b30, 0xc, 0xc000259bc0, 0x16, 0xc0000c96e0, 0x23, 0x16, 0xc0000c96e0, 0x23, 0x1)
	c:/go/src/os/user/lookup_windows.go:51 +0x2d
os/user.newUser(0xc000063ad0, 0xc, 0xc000063b10, 0xc, 0xc0000c9680, 0x1f, 0xc000259bc0, 0x16, 0xc000063b30, 0xc, ...)
	c:/go/src/os/user/lookup_windows.go:181 +0xd4
os/user.current(0x0, 0x0, 0x0)
	c:/go/src/os/user/lookup_windows.go:225 +0x2d8
os/user.Current.func1()
	c:/go/src/os/user/lookup.go:15 +0x29
sync.(*Once).doSlow(0x593ff00, 0x40b75b0)
	c:/go/src/sync/once.go:66 +0xf7
sync.(*Once).Do(...)
	c:/go/src/sync/once.go:57
os/user.Current(0xc0002599c0, 0x1b, 0x3f56005)
	c:/go/src/os/user/lookup.go:15 +0x105
github.com/golang/glog.init.1()
	C:/gomodcache/github.com/golang/[email protected]/gomodcache/github.com/golang/[email protected]/glog_file.go:63 +0x4b
```

This ugly hack is needed because the [bump of github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0][1]
[introduced a new dependency to `glog`][2] which is triggering the following issue with
the Windows nano docker image: [3]

Once [3] is solved, this hack can be reverted.

[1] #8500
[2] dgraph-io/ristretto#263
[3] microsoft/Windows-Containers#72
L3n41c added a commit that referenced this pull request Aug 30, 2021
To fix the following failure:
```
panic: Failed to load netapi32.dll: The specified module could not be found.

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(...)
	c:/go/src/syscall/dll_windows.go:320
syscall.(*LazyProc).Addr(...)
	c:/go/src/syscall/dll_windows.go:327
syscall.NetGetJoinInformation(0x0, 0xc00061fa48, 0xc00061fa44, 0x16, 0xc0000c96e0)
	c:/go/src/syscall/zsyscall_windows.go:1804 +0x107
os/user.isDomainJoined(0xc00061faa0, 0xf3624e, 0x0)
	c:/go/src/os/user/lookup_windows.go:18 +0x5a
os/user.lookupFullName(0xc000063b30, 0xc, 0xc000259bc0, 0x16, 0xc0000c96e0, 0x23, 0x16, 0xc0000c96e0, 0x23, 0x1)
	c:/go/src/os/user/lookup_windows.go:51 +0x2d
os/user.newUser(0xc000063ad0, 0xc, 0xc000063b10, 0xc, 0xc0000c9680, 0x1f, 0xc000259bc0, 0x16, 0xc000063b30, 0xc, ...)
	c:/go/src/os/user/lookup_windows.go:181 +0xd4
os/user.current(0x0, 0x0, 0x0)
	c:/go/src/os/user/lookup_windows.go:225 +0x2d8
os/user.Current.func1()
	c:/go/src/os/user/lookup.go:15 +0x29
sync.(*Once).doSlow(0x593ff00, 0x40b75b0)
	c:/go/src/sync/once.go:66 +0xf7
sync.(*Once).Do(...)
	c:/go/src/sync/once.go:57
os/user.Current(0xc0002599c0, 0x1b, 0x3f56005)
	c:/go/src/os/user/lookup.go:15 +0x105
github.com/golang/glog.init.1()
	C:/gomodcache/github.com/golang/[email protected]/gomodcache/github.com/golang/[email protected]/glog_file.go:63 +0x4b
```

This ugly hack is needed because the [bump of github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0][1]
[introduced a new dependency to `glog`][2] which is triggering the following issue with
the Windows nano docker image: [3]

Once [3] is solved, this hack can be reverted.

[1] #8500
[2] dgraph-io/ristretto#263
[3] microsoft/Windows-Containers#72
L3n41c added a commit that referenced this pull request Aug 31, 2021
…#9006)

To fix the following failure:
```
panic: Failed to load netapi32.dll: The specified module could not be found.

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(...)
	c:/go/src/syscall/dll_windows.go:320
syscall.(*LazyProc).Addr(...)
	c:/go/src/syscall/dll_windows.go:327
syscall.NetGetJoinInformation(0x0, 0xc00061fa48, 0xc00061fa44, 0x16, 0xc0000c96e0)
	c:/go/src/syscall/zsyscall_windows.go:1804 +0x107
os/user.isDomainJoined(0xc00061faa0, 0xf3624e, 0x0)
	c:/go/src/os/user/lookup_windows.go:18 +0x5a
os/user.lookupFullName(0xc000063b30, 0xc, 0xc000259bc0, 0x16, 0xc0000c96e0, 0x23, 0x16, 0xc0000c96e0, 0x23, 0x1)
	c:/go/src/os/user/lookup_windows.go:51 +0x2d
os/user.newUser(0xc000063ad0, 0xc, 0xc000063b10, 0xc, 0xc0000c9680, 0x1f, 0xc000259bc0, 0x16, 0xc000063b30, 0xc, ...)
	c:/go/src/os/user/lookup_windows.go:181 +0xd4
os/user.current(0x0, 0x0, 0x0)
	c:/go/src/os/user/lookup_windows.go:225 +0x2d8
os/user.Current.func1()
	c:/go/src/os/user/lookup.go:15 +0x29
sync.(*Once).doSlow(0x593ff00, 0x40b75b0)
	c:/go/src/sync/once.go:66 +0xf7
sync.(*Once).Do(...)
	c:/go/src/sync/once.go:57
os/user.Current(0xc0002599c0, 0x1b, 0x3f56005)
	c:/go/src/os/user/lookup.go:15 +0x105
github.com/golang/glog.init.1()
	C:/gomodcache/github.com/golang/[email protected]/gomodcache/github.com/golang/[email protected]/glog_file.go:63 +0x4b
```

This ugly hack is needed because the [bump of github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0][1]
[introduced a new dependency to `glog`][2] which is triggering the following issue with
the Windows nano docker image: [3]

Once [3] is solved, this hack can be reverted.

[1] #8500
[2] dgraph-io/ristretto#263
[3] microsoft/Windows-Containers#72
L3n41c added a commit that referenced this pull request Sep 2, 2021
…#9006)

To fix the following failure:
```
panic: Failed to load netapi32.dll: The specified module could not be found.

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(...)
	c:/go/src/syscall/dll_windows.go:320
syscall.(*LazyProc).Addr(...)
	c:/go/src/syscall/dll_windows.go:327
syscall.NetGetJoinInformation(0x0, 0xc00061fa48, 0xc00061fa44, 0x16, 0xc0000c96e0)
	c:/go/src/syscall/zsyscall_windows.go:1804 +0x107
os/user.isDomainJoined(0xc00061faa0, 0xf3624e, 0x0)
	c:/go/src/os/user/lookup_windows.go:18 +0x5a
os/user.lookupFullName(0xc000063b30, 0xc, 0xc000259bc0, 0x16, 0xc0000c96e0, 0x23, 0x16, 0xc0000c96e0, 0x23, 0x1)
	c:/go/src/os/user/lookup_windows.go:51 +0x2d
os/user.newUser(0xc000063ad0, 0xc, 0xc000063b10, 0xc, 0xc0000c9680, 0x1f, 0xc000259bc0, 0x16, 0xc000063b30, 0xc, ...)
	c:/go/src/os/user/lookup_windows.go:181 +0xd4
os/user.current(0x0, 0x0, 0x0)
	c:/go/src/os/user/lookup_windows.go:225 +0x2d8
os/user.Current.func1()
	c:/go/src/os/user/lookup.go:15 +0x29
sync.(*Once).doSlow(0x593ff00, 0x40b75b0)
	c:/go/src/sync/once.go:66 +0xf7
sync.(*Once).Do(...)
	c:/go/src/sync/once.go:57
os/user.Current(0xc0002599c0, 0x1b, 0x3f56005)
	c:/go/src/os/user/lookup.go:15 +0x105
github.com/golang/glog.init.1()
	C:/gomodcache/github.com/golang/[email protected]/gomodcache/github.com/golang/[email protected]/glog_file.go:63 +0x4b
```

This ugly hack is needed because the [bump of github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0][1]
[introduced a new dependency to `glog`][2] which is triggering the following issue with
the Windows nano docker image: [3]

Once [3] is solved, this hack can be reverted.

[1] #8500
[2] dgraph-io/ristretto#263
[3] microsoft/Windows-Containers#72
clamoriniere added a commit that referenced this pull request Sep 2, 2021
L3n41c pushed a commit that referenced this pull request Sep 2, 2021
clamoriniere added a commit that referenced this pull request Sep 2, 2021
zandrewitte pushed a commit to StackVista/stackstate-agent that referenced this pull request Nov 17, 2022
…DataDog#9006)

To fix the following failure:
```
panic: Failed to load netapi32.dll: The specified module could not be found.

goroutine 1 [running]:
syscall.(*LazyProc).mustFind(...)
	c:/go/src/syscall/dll_windows.go:320
syscall.(*LazyProc).Addr(...)
	c:/go/src/syscall/dll_windows.go:327
syscall.NetGetJoinInformation(0x0, 0xc00061fa48, 0xc00061fa44, 0x16, 0xc0000c96e0)
	c:/go/src/syscall/zsyscall_windows.go:1804 +0x107
os/user.isDomainJoined(0xc00061faa0, 0xf3624e, 0x0)
	c:/go/src/os/user/lookup_windows.go:18 +0x5a
os/user.lookupFullName(0xc000063b30, 0xc, 0xc000259bc0, 0x16, 0xc0000c96e0, 0x23, 0x16, 0xc0000c96e0, 0x23, 0x1)
	c:/go/src/os/user/lookup_windows.go:51 +0x2d
os/user.newUser(0xc000063ad0, 0xc, 0xc000063b10, 0xc, 0xc0000c9680, 0x1f, 0xc000259bc0, 0x16, 0xc000063b30, 0xc, ...)
	c:/go/src/os/user/lookup_windows.go:181 +0xd4
os/user.current(0x0, 0x0, 0x0)
	c:/go/src/os/user/lookup_windows.go:225 +0x2d8
os/user.Current.func1()
	c:/go/src/os/user/lookup.go:15 +0x29
sync.(*Once).doSlow(0x593ff00, 0x40b75b0)
	c:/go/src/sync/once.go:66 +0xf7
sync.(*Once).Do(...)
	c:/go/src/sync/once.go:57
os/user.Current(0xc0002599c0, 0x1b, 0x3f56005)
	c:/go/src/os/user/lookup.go:15 +0x105
github.com/golang/glog.init.1()
	C:/gomodcache/github.com/golang/[email protected]/gomodcache/github.com/golang/[email protected]/glog_file.go:63 +0x4b
```

This ugly hack is needed because the [bump of github.com/dgraph-io/ristretto from 0.0.3 to 0.1.0][1]
[introduced a new dependency to `glog`][2] which is triggering the following issue with
the Windows nano docker image: [3]

Once [3] is solved, this hack can be reverted.

[1] DataDog#8500
[2] dgraph-io/ristretto#263
[3] microsoft/Windows-Containers#72
zandrewitte pushed a commit to StackVista/stackstate-agent that referenced this pull request Nov 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog/no-changelog dependencies PRs that bump a dependency team/agent-apm trace-agent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants