-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Comparing changes
Open a pull request
base repository: dgraph-io/badger
base: v2.2007.2
head repository: dgraph-io/badger
compare: v2.2007.4
- 12 commits
- 28 files changed
- 8 contributors
Commits on Sep 14, 2020
-
Configuration menu - View commit details
-
Copy full SHA for d12bee4 - Browse repository at this point
Copy the full SHA d12bee4View commit details
Commits on Sep 21, 2020
-
feat(db): Add db.MaxVersion API (#1526) (#1531)
This PR adds a new `db.MaxVersion()` API that returns the maximum version across all keys in the DB. (cherry picked from commit 36af85f)
Ibrahim Jarif authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 7c169e9 - Browse repository at this point
Copy the full SHA 7c169e9View commit details -
fix(maxVersion): Use choosekey instead of KeyToList (#1532) (#1533)
(cherry picked from commit f07dcfc)
Ibrahim Jarif authoredSep 21, 2020 Configuration menu - View commit details
-
Copy full SHA for 6a6b506 - Browse repository at this point
Copy the full SHA 6a6b506View commit details
Commits on Sep 24, 2020
-
Configuration menu - View commit details
-
Copy full SHA for 6479307 - Browse repository at this point
Copy the full SHA 6479307View commit details
Commits on Sep 27, 2020
-
fix(flatten): Add --num_versions flag (#1518) (#1520)
Add --num_versions flag to set NumVersionsToKeep option in badger. (cherry picked from commit c68fbc1)
Ibrahim Jarif authoredSep 27, 2020 Configuration menu - View commit details
-
Copy full SHA for 5e3d4b9 - Browse repository at this point
Copy the full SHA 5e3d4b9View commit details
Commits on Oct 12, 2020
-
Fix integer overflow on 32-bit architectures (#1558)
The untyped const causes conversion to int, for which the value is too large. Use a typed const instead that is large enough to store value. Similar to #1541, but for v2.2007 branch.
Configuration menu - View commit details
-
Copy full SHA for f5a7e0a - Browse repository at this point
Copy the full SHA f5a7e0aView commit details
Commits on Dec 28, 2020
-
fix(vlog): Log error on missing vlog (#1628)
Ibrahim Jarif authoredDec 28, 2020 Configuration menu - View commit details
-
Copy full SHA for 3f846b3 - Browse repository at this point
Copy the full SHA 3f846b3View commit details
Commits on Jul 21, 2021
-
pb: avoid protobuf warning due to common filename (#1519) (#1731)
If a Go program imports both badger (v1) and badger/v2, a warning will be produced at init time: WARNING: proto: file "pb.proto" is already registered A future release will panic on registration conflicts. See: https://developers.google.com/protocol-buffers/docs/reference/go/faq#namespace-conflict The problem is the "pb.proto" filename; it's registered globally, which makes it very likely to cause conflicts with other protobuf-generated packages in a Go binary. Coincidentally, this is a problem with badger's pb package in the v1 module, since that too uses the name "pb.proto". Instead, call the file "badgerpb2.proto", which should be unique enough, and it's also the name we use for the Protobuf package. Finally, update gen.sh to work out of the box via just "bash gen.sh" without needing extra tweaks, thanks to the "paths=source_relative" option. It forces output files to be produced next to the input files, which is what we want. (cherry picked from commit 3e6a4b7) Co-authored-by: Daniel Martí <mvdan@mvdan.cc>
Configuration menu - View commit details
-
Copy full SHA for 73c1ce3 - Browse repository at this point
Copy the full SHA 73c1ce3View commit details -
chore: update changelog for v2.2007.3 (#1733)
(cherry picked from commit 6c1e5bc)
Configuration menu - View commit details
-
Copy full SHA for 166e075 - Browse repository at this point
Copy the full SHA 166e075View commit details
Commits on Aug 24, 2021
-
Fix build on Plan 9 (#1451) (#1508) (#1738)
Plan 9 doesn't have mmap, so we just return an error. File locking is implemented using the exclusive mode bit. From http://man.cat-v.org/plan_9/5/open: If the file is marked for exclusive use (see stat(5)), only one client can have the file open at any time. That is, after such a file has been opened, further opens will fail until fid has been clunked. Initial attempt at implementing directory locking using this method was not successful because badger seems to be opening the directory multiple times (at least while running the test suite). As a workaround, we lock the pid lock file instead of the directory itself, same as the windows implementation. Co-authored-by: Ibrahim Jarif <ibrahim@dgraph.io> (cherry picked from commit 07fa3eb) Co-authored-by: Fazlul Shahriar <fshahriar@gmail.com> Co-authored-by: Fazlul Shahriar <fshahriar@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for f0549ca - Browse repository at this point
Copy the full SHA f0549caView commit details
Commits on Aug 25, 2021
-
feat(zstd): backport replacement of DataDog's zstd with Klauspost's z…
…std (#1736) Backports the changes from #1706 and #1709 to the v2 branch of badger. For context, https://github.com/caddyserver/caddy uses https://github.com/smallstep/certificates which uses https://github.com/smallstep/nosql which uses badger. See smallstep/nosql#12 for the discussion. It's not currently viable for smallstep to upgrade from v2 to v3 of badger, so it would be nice to backport this zstd change to the v2 branch to remove the implicit (yet optional) CGO dependency on Caddy. I targeted the release/v2.2007 branch, I couldn't really see a more relevant branch to target, so I hope that's okay.
Configuration menu - View commit details
-
Copy full SHA for c5b434a - Browse repository at this point
Copy the full SHA c5b434aView commit details -
Update CHANGELOG for v2.2007.4 (#1740)
(cherry picked from commit ee6065b)
Configuration menu - View commit details
-
Copy full SHA for 156819c - Browse repository at this point
Copy the full SHA 156819cView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v2.2007.2...v2.2007.4