diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 345e83b37..8485f9f26 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,5 +1,5 @@ blank_issues_enabled: false contact_links: - name: Badger Community Support - url: https://discord.hypermode.com + url: https://github.com/orgs/dgraph-io/discussions about: Please ask and answer questions here diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 15fc41e59..39402ace7 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -8,8 +8,6 @@ Please explain the changes you made here. - [ ] For all _code_ changes, an entry added to the `CHANGELOG.md` file describing and linking to this PR - [ ] Tests added for new functionality, or regression tests for bug fixes added as applicable -- [ ] For public APIs, new features, etc., PR on [docs repo](https://github.com/hypermodeinc/docs) - staged and linked here **Instructions** diff --git a/.github/renovate.json b/.github/renovate.json index df9515191..7c858485d 100644 --- a/.github/renovate.json +++ b/.github/renovate.json @@ -1,12 +1,10 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", - "extends": ["local>hypermodeinc/renovate-config"], + "extends": ["local>dgraph-io/renovate-config"], "rangeStrategy": "widen", "packageRules": [ - { - "matchManagers": ["gomod"], - "matchDepNames": ["go"], - "enabled": false - } - ] + { "matchManagers": ["gomod"], "matchPackageNames": ["go"], "enabled": false }, + { "matchManagers": ["gomod"], "matchDepNames": ["go"], "enabled": false } + ], + "ignoreDeps": ["go"] } diff --git a/.github/workflows/ci-dgraph-tests.yml b/.github/workflows/ci-dgraph-tests.yml index 0195b21eb..252b4acc5 100644 --- a/.github/workflows/ci-dgraph-tests.yml +++ b/.github/workflows/ci-dgraph-tests.yml @@ -19,7 +19,7 @@ jobs: - name: Checkout Dgraph repo uses: actions/checkout@v5 with: - repository: hypermodeinc/dgraph + repository: dgraph-io/dgraph ref: main - name: Set up Go uses: actions/setup-go@v6 diff --git a/.github/workflows/trunk.yml b/.github/workflows/trunk.yml index edfb029c9..d57563bdd 100644 --- a/.github/workflows/trunk.yml +++ b/.github/workflows/trunk.yml @@ -11,4 +11,4 @@ permissions: jobs: trunk-code-quality: name: Trunk Code Quality - uses: hypermodeinc/.github/.github/workflows/trunk.yml@main + uses: dgraph-io/.github/.github/workflows/trunk.yml@main diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 519eb874d..b88fe4043 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -9,22 +9,20 @@ cli: plugins: sources: - id: trunk - ref: v1.7.1 + ref: v1.7.4 uri: https://github.com/trunk-io/plugins # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - - go@1.24.5 - - node@22.16.0 - - python@3.10.8 + - go@1.25.5 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: ignore: - linters: [ALL] paths: - - "*.pb.go" + - pb/*.pb.go enabled: - golangci-lint2@2.4.0 - trivy@0.64.1 diff --git a/CHANGELOG.md b/CHANGELOG.md index 05d36674b..583fd6d82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,48 +26,46 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). - docs: Add pagination explanation to docs (#2134) - Fix build for GOARCH=wasm with GOOS=js or GOOS=wasip1 (#2048) -**Full Changelog**: https://github.com/hypermodeinc/badger/compare/v4.5.0...v4.5.1 +**Full Changelog**: https://github.com/dgraph-io/badger/compare/v4.5.0...v4.5.1 ## [4.5.0] - 2024-11-29 -- fix the cd pipeline by @mangalaman93 in https://github.com/hypermodeinc/badger/pull/2127 +- fix the cd pipeline by @mangalaman93 in https://github.com/dgraph-io/badger/pull/2127 - chore(deps): bump the minor group with 2 updates by @dependabot in - https://github.com/hypermodeinc/badger/pull/2128 + https://github.com/dgraph-io/badger/pull/2128 - chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 in the minor group by - @dependabot in https://github.com/hypermodeinc/badger/pull/2130 -- upgrade protobuf library by @shivaji-kharse in https://github.com/hypermodeinc/badger/pull/2131 + @dependabot in https://github.com/dgraph-io/badger/pull/2130 +- upgrade protobuf library by @shivaji-kharse in https://github.com/dgraph-io/badger/pull/2131 -**Full Changelog**: https://github.com/hypermodeinc/badger/compare/v4.4.0...v4.5.0 +**Full Changelog**: https://github.com/dgraph-io/badger/compare/v4.4.0...v4.5.0 ## [4.4.0] - 2024-10-26 - retract v4.3.0 due to #2121 and #2113, upgrade to Go v1.23, use ristretto v2 in - https://github.com/hypermodeinc/badger/pull/2122 -- Allow stream custom maxsize per batch in https://github.com/hypermodeinc/badger/pull/2063 + https://github.com/dgraph-io/badger/pull/2122 +- Allow stream custom maxsize per batch in https://github.com/dgraph-io/badger/pull/2063 - chore(deps): bump github.com/klauspost/compress from 1.17.10 to 1.17.11 in the patch group in - https://github.com/hypermodeinc/badger/pull/2120 -- fix: sentinel errors should not have stack traces in - https://github.com/hypermodeinc/badger/pull/2042 -- chore(deps): bump the minor group with 2 updates in - https://github.com/hypermodeinc/badger/pull/2119 + https://github.com/dgraph-io/badger/pull/2120 +- fix: sentinel errors should not have stack traces in https://github.com/dgraph-io/badger/pull/2042 +- chore(deps): bump the minor group with 2 updates in https://github.com/dgraph-io/badger/pull/2119 -**Full Changelog**: https://github.com/hypermodeinc/badger/compare/v4.3.1...v4.4.0 +**Full Changelog**: https://github.com/dgraph-io/badger/compare/v4.3.1...v4.4.0 ## [4.3.1] - 2024-10-06 -- chore: update docs links by @ryanfoxtyler in https://github.com/hypermodeinc/badger/pull/2097 +- chore: update docs links by @ryanfoxtyler in https://github.com/dgraph-io/badger/pull/2097 - chore(deps): bump golang.org/x/sys from 0.24.0 to 0.25.0 in the minor group by @dependabot in - https://github.com/hypermodeinc/badger/pull/2100 + https://github.com/dgraph-io/badger/pull/2100 - chore(deps): bump golang.org/x/net from 0.28.0 to 0.29.0 in the minor group by @dependabot in - https://github.com/hypermodeinc/badger/pull/2106 + https://github.com/dgraph-io/badger/pull/2106 - fix: fix reverse iterator broken by seek by @harshil-goel in - https://github.com/hypermodeinc/badger/pull/2109 + https://github.com/dgraph-io/badger/pull/2109 - chore(deps): bump github.com/klauspost/compress from 1.17.9 to 1.17.10 in the patch group by - @dependabot in https://github.com/hypermodeinc/badger/pull/2114 -- chore(deps): bump github.com/hypermodeinc/ristretto from 0.1.2-0.20240116140435-c67e07994f91 to - 1.0.0 by @dependabot in https://github.com/hypermodeinc/badger/pull/2112 + @dependabot in https://github.com/dgraph-io/badger/pull/2114 +- chore(deps): bump github.com/dgraph-io/ristretto from 0.1.2-0.20240116140435-c67e07994f91 to 1.0.0 + by @dependabot in https://github.com/dgraph-io/badger/pull/2112 -**Full Changelog**: https://github.com/hypermodeinc/badger/compare/v4.3.0...v4.3.1 +**Full Changelog**: https://github.com/dgraph-io/badger/compare/v4.3.0...v4.3.1 ## [4.3.0] - 2024-08-29 @@ -77,75 +75,75 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). **Fixes** - chore(changelog): add a missed entry in CHANGELOG for v4.2.0 by @mangalaman93 in - https://github.com/hypermodeinc/badger/pull/1988 + https://github.com/dgraph-io/badger/pull/1988 - update README with project KVS using badger by @tauraamui in - https://github.com/hypermodeinc/badger/pull/1989 + https://github.com/dgraph-io/badger/pull/1989 - fix edge case for watermark when index is zero by @mangalaman93 in - https://github.com/hypermodeinc/badger/pull/1999 + https://github.com/dgraph-io/badger/pull/1999 - upgrade spf13/cobra to version v1.7.0 by @mangalaman93 in - https://github.com/hypermodeinc/badger/pull/2001 -- chore: update readme by @joshua-goldstein in https://github.com/hypermodeinc/badger/pull/2011 + https://github.com/dgraph-io/badger/pull/2001 +- chore: update readme by @joshua-goldstein in https://github.com/dgraph-io/badger/pull/2011 - perf: upgrade compress package test and benchmark. by @siddhant2001 in - https://github.com/hypermodeinc/badger/pull/2009 + https://github.com/dgraph-io/badger/pull/2009 - fix(Transactions): Fix resource consumption on empty write transaction by @Zach-Johnson in - https://github.com/hypermodeinc/badger/pull/2018 + https://github.com/dgraph-io/badger/pull/2018 - chore(deps): bump golang.org/x/net from 0.7.0 to 0.17.0 by @dependabot in - https://github.com/hypermodeinc/badger/pull/2017 + https://github.com/dgraph-io/badger/pull/2017 - perf(compactor): optimize allocations: use buffer for priorities by @deff7 in - https://github.com/hypermodeinc/badger/pull/2006 + https://github.com/dgraph-io/badger/pull/2006 - fix(Transaction): discard empty transactions on CommitWith by @Wondertan in - https://github.com/hypermodeinc/badger/pull/2031 + https://github.com/dgraph-io/badger/pull/2031 - fix(levelHandler): use lock for levelHandler sort tables instead of rlock by @xgzlucario in - https://github.com/hypermodeinc/badger/pull/2034 + https://github.com/dgraph-io/badger/pull/2034 - Docs: update README with project LLS using badger by @Boc-chi-no in - https://github.com/hypermodeinc/badger/pull/2032 + https://github.com/dgraph-io/badger/pull/2032 - chore: MaxTableSize has been renamed to BaseTableSize by @mitar in - https://github.com/hypermodeinc/badger/pull/2038 -- Update CODEOWNERS by @ryanfoxtyler in https://github.com/hypermodeinc/badger/pull/2043 -- Chore(): add Stale Action by @ryanfoxtyler in https://github.com/hypermodeinc/badger/pull/2070 + https://github.com/dgraph-io/badger/pull/2038 +- Update CODEOWNERS by @ryanfoxtyler in https://github.com/dgraph-io/badger/pull/2043 +- Chore(): add Stale Action by @ryanfoxtyler in https://github.com/dgraph-io/badger/pull/2070 - Update ristretto and refactor for use of generics by @paralin in - https://github.com/hypermodeinc/badger/pull/2047 -- chore: Remove obsolete comment by @mitar in https://github.com/hypermodeinc/badger/pull/2039 + https://github.com/dgraph-io/badger/pull/2047 +- chore: Remove obsolete comment by @mitar in https://github.com/dgraph-io/badger/pull/2039 - chore(Docs): Update jQuery 3.2.1 to 3.7.1 by @kokizzu in - https://github.com/hypermodeinc/badger/pull/2023 + https://github.com/dgraph-io/badger/pull/2023 - chore(deps): bump the go_modules group with 3 updates by @dependabot in - https://github.com/hypermodeinc/badger/pull/2074 -- docs(): update docs path by @ryanfoxtyler in https://github.com/hypermodeinc/badger/pull/2076 -- perf: fix operation in seek by @harshil-goel in https://github.com/hypermodeinc/badger/pull/2077 -- Add lakeFS to README.md by @N-o-Z in https://github.com/hypermodeinc/badger/pull/2078 -- chore(): add Dependabot by @ryanfoxtyler in https://github.com/hypermodeinc/badger/pull/2080 + https://github.com/dgraph-io/badger/pull/2074 +- docs(): update docs path by @ryanfoxtyler in https://github.com/dgraph-io/badger/pull/2076 +- perf: fix operation in seek by @harshil-goel in https://github.com/dgraph-io/badger/pull/2077 +- Add lakeFS to README.md by @N-o-Z in https://github.com/dgraph-io/badger/pull/2078 +- chore(): add Dependabot by @ryanfoxtyler in https://github.com/dgraph-io/badger/pull/2080 - chore(deps): bump golangci/golangci-lint-action from 4 to 6 by @dependabot in - https://github.com/hypermodeinc/badger/pull/2083 + https://github.com/dgraph-io/badger/pull/2083 - chore(deps): bump actions/upload-artifact from 3 to 4 by @dependabot in - https://github.com/hypermodeinc/badger/pull/2081 + https://github.com/dgraph-io/badger/pull/2081 - chore(deps): bump github/codeql-action from 2 to 3 by @dependabot in - https://github.com/hypermodeinc/badger/pull/2082 + https://github.com/dgraph-io/badger/pull/2082 - chore(deps): bump the minor group with 7 updates by @dependabot in - https://github.com/hypermodeinc/badger/pull/2089 -- Action Manager by @madhu72 in https://github.com/hypermodeinc/badger/pull/2050 + https://github.com/dgraph-io/badger/pull/2089 +- Action Manager by @madhu72 in https://github.com/dgraph-io/badger/pull/2050 - chore(deps): bump golang.org/x/sys from 0.23.0 to 0.24.0 in the minor group by @dependabot in - https://github.com/hypermodeinc/badger/pull/2091 + https://github.com/dgraph-io/badger/pull/2091 - chore(deps): bump github.com/golang/protobuf from 1.5.3 to 1.5.4 in the patch group by @dependabot - in https://github.com/hypermodeinc/badger/pull/2090 -- chore: fix some comments by @dufucun in https://github.com/hypermodeinc/badger/pull/2092 + in https://github.com/dgraph-io/badger/pull/2090 +- chore: fix some comments by @dufucun in https://github.com/dgraph-io/badger/pull/2092 - chore(deps): bump github.com/google/flatbuffers from 1.12.1 to 24.3.25+incompatible by @dependabot - in https://github.com/hypermodeinc/badger/pull/2084 + in https://github.com/dgraph-io/badger/pull/2084 **CI** - ci: change cron frequency to fix ghost jobs by @joshua-goldstein in - https://github.com/hypermodeinc/badger/pull/2010 + https://github.com/dgraph-io/badger/pull/2010 - fix(CI): Update to pull_request trigger by @ryanfoxtyler in - https://github.com/hypermodeinc/badger/pull/2056 -- ci/cd optimization by @ryanfoxtyler in https://github.com/hypermodeinc/badger/pull/2051 -- fix(cd): fixed cd pipeline by @harshil-goel in https://github.com/hypermodeinc/badger/pull/2093 -- fix(cd): change name by @harshil-goel in https://github.com/hypermodeinc/badger/pull/2094 + https://github.com/dgraph-io/badger/pull/2056 +- ci/cd optimization by @ryanfoxtyler in https://github.com/dgraph-io/badger/pull/2051 +- fix(cd): fixed cd pipeline by @harshil-goel in https://github.com/dgraph-io/badger/pull/2093 +- fix(cd): change name by @harshil-goel in https://github.com/dgraph-io/badger/pull/2094 - fix(cd): added more debug things to cd by @harshil-goel in - https://github.com/hypermodeinc/badger/pull/2095 + https://github.com/dgraph-io/badger/pull/2095 - fix(cd): removing some debug items by @harshil-goel in - https://github.com/hypermodeinc/badger/pull/2096 + https://github.com/dgraph-io/badger/pull/2096 -**Full Changelog**: https://github.com/hypermodeinc/badger/compare/v4.2.0...v4.3.0 +**Full Changelog**: https://github.com/dgraph-io/badger/compare/v4.2.0...v4.3.0 ## [4.2.0] - 2023-08-03 @@ -182,7 +180,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). This release adds support for incremental stream writer. We also do some cleanup in the docs and resolve some CI issues for community PR's. We resolve high and medium CVE's and fix -[#1833](https://github.com/hypermodeinc/badger/issues/1833). +[#1833](https://github.com/dgraph-io/badger/issues/1833). **Features** @@ -191,7 +189,7 @@ resolve some CI issues for community PR's. We resolve high and medium CVE's and **Fixes** - chore: upgrade xxhash from v1.1.0 to v2.1.2 (#1910) (fixes - [#1833](https://github.com/hypermodeinc/badger/issues/1833)) + [#1833](https://github.com/dgraph-io/badger/issues/1833)) **Security** @@ -199,13 +197,13 @@ resolve some CI issues for community PR's. We resolve high and medium CVE's and **CVEs** -- [CVE-2021-31525](https://github.com/hypermodeinc/badger/security/dependabot/7) -- [CVE-2022-41723](https://github.com/hypermodeinc/badger/security/dependabot/4) -- [CVE-2022-27664](https://github.com/hypermodeinc/badger/security/dependabot/5) -- [CVE-2021-33194](https://github.com/hypermodeinc/badger/security/dependabot/9) -- [CVE-2022-41723](https://github.com/hypermodeinc/badger/security/dependabot/13) -- [CVE-2021-33194](https://github.com/hypermodeinc/badger/security/dependabot/16) -- [CVE-2021-38561](https://github.com/hypermodeinc/badger/security/dependabot/8) +- [CVE-2021-31525](https://github.com/dgraph-io/badger/security/dependabot/7) +- [CVE-2022-41723](https://github.com/dgraph-io/badger/security/dependabot/4) +- [CVE-2022-27664](https://github.com/dgraph-io/badger/security/dependabot/5) +- [CVE-2021-33194](https://github.com/dgraph-io/badger/security/dependabot/9) +- [CVE-2022-41723](https://github.com/dgraph-io/badger/security/dependabot/13) +- [CVE-2021-33194](https://github.com/dgraph-io/badger/security/dependabot/16) +- [CVE-2021-38561](https://github.com/dgraph-io/badger/security/dependabot/8) **Chores** @@ -674,7 +672,6 @@ This sections lists the changes which were reverted because of non-reproducible **New APIs** - badger.Options - - WithInMemory (f5b6321) - WithZSTDCompressionLevel (3eb4e72) @@ -706,7 +703,6 @@ This sections lists the changes which were reverted because of non-reproducible **New APIs** - badger.DB - - NewWriteBatchAt (7f43769) - CacheMetrics (b9056f1) @@ -784,7 +780,6 @@ _Note_: The hashes in parentheses correspond to the commits that impacted the gi **New APIs** - badger.DB - - DropPrefix (291295e) - Flatten (7e41bba) - KeySplits (4751ef1) @@ -795,30 +790,25 @@ _Note_: The hashes in parentheses correspond to the commits that impacted the gi - Sync (851e462) - badger.DefaultOptions() and badger.LSMOnlyOptions() (91ce687) - - badger.Options.WithX methods - badger.Entry (e9447c9) - - NewEntry - WithMeta - WithDiscard - WithTTL - badger.Item - - KeySize (fd59907) - ValueSize (5242a99) - badger.IteratorOptions - - PickTable (7d46029, 49a49e3) - Prefix (7d46029) - badger.Logger (fbb2778) - badger.Options - - CompactL0OnClose (7e41bba) - Logger (3f66663) - LogRotatesToFlush (2237832) @@ -890,7 +880,7 @@ Bug Fixes: - Fix for infinite yieldItemValue recursion. #503 - Fix recursive addition of `badgerMove` prefix. - https://github.com/hypermodeinc/badger/commit/2e3a32f0ccac3066fb4206b28deb39c210c5266f + https://github.com/dgraph-io/badger/commit/2e3a32f0ccac3066fb4206b28deb39c210c5266f - Use file size based window size for sampling, instead of fixing it to 10MB. #501 Cleanup: @@ -957,23 +947,23 @@ Bug fix: - Fix an uint16 overflow when resizing key slice -[Unreleased]: https://github.com/hypermodeinc/badger/compare/v2.2007.2...HEAD -[2.2007.2]: https://github.com/hypermodeinc/badger/compare/v2.2007.1...v2.2007.2 -[2.2007.1]: https://github.com/hypermodeinc/badger/compare/v2.2007.0...v2.2007.1 -[2.2007.0]: https://github.com/hypermodeinc/badger/compare/v2.0.3...v2.2007.0 -[2.0.3]: https://github.com/hypermodeinc/badger/compare/v2.0.2...v2.0.3 -[2.0.2]: https://github.com/hypermodeinc/badger/compare/v2.0.1...v2.0.2 -[2.0.1]: https://github.com/hypermodeinc/badger/compare/v2.0.0...v2.0.1 -[2.0.0]: https://github.com/hypermodeinc/badger/compare/v1.6.0...v2.0.0 -[1.6.0]: https://github.com/hypermodeinc/badger/compare/v1.5.5...v1.6.0 -[1.5.5]: https://github.com/hypermodeinc/badger/compare/v1.5.3...v1.5.5 -[1.5.3]: https://github.com/hypermodeinc/badger/compare/v1.5.2...v1.5.3 -[1.5.2]: https://github.com/hypermodeinc/badger/compare/v1.5.1...v1.5.2 -[1.5.1]: https://github.com/hypermodeinc/badger/compare/v1.5.0...v1.5.1 -[1.5.0]: https://github.com/hypermodeinc/badger/compare/v1.4.0...v1.5.0 -[1.4.0]: https://github.com/hypermodeinc/badger/compare/v1.3.0...v1.4.0 -[1.3.0]: https://github.com/hypermodeinc/badger/compare/v1.2.0...v1.3.0 -[1.2.0]: https://github.com/hypermodeinc/badger/compare/v1.1.1...v1.2.0 -[1.1.1]: https://github.com/hypermodeinc/badger/compare/v1.1.0...v1.1.1 -[1.1.0]: https://github.com/hypermodeinc/badger/compare/v1.0.1...v1.1.0 -[1.0.1]: https://github.com/hypermodeinc/badger/compare/v1.0.0...v1.0.1 +[Unreleased]: https://github.com/dgraph-io/badger/compare/v2.2007.2...HEAD +[2.2007.2]: https://github.com/dgraph-io/badger/compare/v2.2007.1...v2.2007.2 +[2.2007.1]: https://github.com/dgraph-io/badger/compare/v2.2007.0...v2.2007.1 +[2.2007.0]: https://github.com/dgraph-io/badger/compare/v2.0.3...v2.2007.0 +[2.0.3]: https://github.com/dgraph-io/badger/compare/v2.0.2...v2.0.3 +[2.0.2]: https://github.com/dgraph-io/badger/compare/v2.0.1...v2.0.2 +[2.0.1]: https://github.com/dgraph-io/badger/compare/v2.0.0...v2.0.1 +[2.0.0]: https://github.com/dgraph-io/badger/compare/v1.6.0...v2.0.0 +[1.6.0]: https://github.com/dgraph-io/badger/compare/v1.5.5...v1.6.0 +[1.5.5]: https://github.com/dgraph-io/badger/compare/v1.5.3...v1.5.5 +[1.5.3]: https://github.com/dgraph-io/badger/compare/v1.5.2...v1.5.3 +[1.5.2]: https://github.com/dgraph-io/badger/compare/v1.5.1...v1.5.2 +[1.5.1]: https://github.com/dgraph-io/badger/compare/v1.5.0...v1.5.1 +[1.5.0]: https://github.com/dgraph-io/badger/compare/v1.4.0...v1.5.0 +[1.4.0]: https://github.com/dgraph-io/badger/compare/v1.3.0...v1.4.0 +[1.3.0]: https://github.com/dgraph-io/badger/compare/v1.2.0...v1.3.0 +[1.2.0]: https://github.com/dgraph-io/badger/compare/v1.1.1...v1.2.0 +[1.1.1]: https://github.com/dgraph-io/badger/compare/v1.1.0...v1.1.1 +[1.1.0]: https://github.com/dgraph-io/badger/compare/v1.0.1...v1.1.0 +[1.0.1]: https://github.com/dgraph-io/badger/compare/v1.0.0...v1.0.1 diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 614af544e..16320059d 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -51,8 +51,8 @@ an appointed representative at an online or offline event. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community -leaders responsible for enforcement at hello@hypermode.com. All complaints will be reviewed and -investigated promptly and fairly. +leaders responsible for enforcement at dgraph-admin@istaridigital.com. All complaints will be +reviewed and investigated promptly and fairly. All community leaders are obligated to respect the privacy and security of the reporter of any incident. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index f6d595953..cc544b1d5 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -25,8 +25,8 @@ Please make sure to read and observe our [Code of Conduct](./CODE_OF_CONDUCT.md) ### Find a good first topic You can start by finding an existing issue with the -[good first issue](https://github.com/hypermodeinc/badger/labels/good%20first%20issue) or -[help wanted](https://github.com/hypermodeinc/badger/labels/help%20wanted) labels. These issues are +[good first issue](https://github.com/dgraph-io/badger/labels/good%20first%20issue) or +[help wanted](https://github.com/dgraph-io/badger/labels/help%20wanted) labels. These issues are well suited for new contributors. ## Setting up your development environment @@ -36,7 +36,7 @@ version of Go should be **1.12** or above. ### Fork the project -- Visit https://github.com/hypermodeinc/badger +- Visit https://github.com/dgraph-io/badger - Click the `Fork` button (top right) to create a fork of the repository ### Clone the project @@ -44,7 +44,7 @@ version of Go should be **1.12** or above. ```sh git clone https://github.com/$GITHUB_USER/badger cd badger -git remote add upstream git@github.com:hypermodeinc/badger.git +git remote add upstream git@github.com:dgraph-io/badger.git # Never push to the upstream master git remote set-url --push upstream no_push @@ -98,7 +98,7 @@ description. ### Sign the CLA Click the **Sign in with Github to agree** button to sign the CLA. -[An example](https://cla-assistant.io/hypermodeinc/badger?pullRequest=1377). +[An example](https://cla-assistant.io/dgraph-io/badger?pullRequest=1377). ### Get a code review diff --git a/Makefile b/Makefile index bc0e5ef3a..aa34d87db 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,5 @@ # -# SPDX-FileCopyrightText: © Hypermode Inc. +# SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. # SPDX-License-Identifier: Apache-2.0 # diff --git a/README.md b/README.md index 56d956507..79aade665 100644 --- a/README.md +++ b/README.md @@ -2,10 +2,10 @@ [![Go Reference](https://pkg.go.dev/badge/github.com/dgraph-io/badger/v4.svg)](https://pkg.go.dev/github.com/dgraph-io/badger/v4) [![Go Report Card](https://goreportcard.com/badge/github.com/dgraph-io/badger/v4)](https://goreportcard.com/report/github.com/dgraph-io/badger/v4) -[![Sourcegraph](https://sourcegraph.com/github.com/hypermodeinc/badger/-/badge.svg)](https://sourcegraph.com/github.com/hypermodeinc/badger?badge) -[![ci-badger-tests](https://github.com/hypermodeinc/badger/actions/workflows/ci-badger-tests.yml/badge.svg)](https://github.com/hypermodeinc/badger/actions/workflows/ci-badger-tests.yml) -[![ci-badger-bank-tests](https://github.com/hypermodeinc/badger/actions/workflows/ci-badger-bank-tests.yml/badge.svg)](https://github.com/hypermodeinc/badger/actions/workflows/ci-badger-bank-tests.yml) -[![ci-badger-bank-tests-nightly](https://github.com/hypermodeinc/badger/actions/workflows/ci-badger-bank-tests-nightly.yml/badge.svg)](https://github.com/hypermodeinc/badger/actions/workflows/ci-badger-bank-tests-nightly.yml) +[![Sourcegraph](https://sourcegraph.com/github.com/dgraph-io/badger/-/badge.svg)](https://sourcegraph.com/github.com/dgraph-io/badger?badge) +[![ci-badger-tests](https://github.com/dgraph-io/badger/actions/workflows/ci-badger-tests.yml/badge.svg)](https://github.com/dgraph-io/badger/actions/workflows/ci-badger-tests.yml) +[![ci-badger-bank-tests](https://github.com/dgraph-io/badger/actions/workflows/ci-badger-bank-tests.yml/badge.svg)](https://github.com/dgraph-io/badger/actions/workflows/ci-badger-bank-tests.yml) +[![ci-badger-bank-tests-nightly](https://github.com/dgraph-io/badger/actions/workflows/ci-badger-bank-tests-nightly.yml/badge.svg)](https://github.com/dgraph-io/badger/actions/workflows/ci-badger-bank-tests-nightly.yml) ![Badger mascot](images/diggy-shadow.png) @@ -29,7 +29,7 @@ Please consult the [Changelog] for more detailed information on releases. Note: Badger is built with go 1.23 and we refrain from bumping this version to minimize downstream effects of those using Badger in applications built with older versions of Go. -[Changelog]: https://github.com/hypermodeinc/badger/blob/main/CHANGELOG.md +[Changelog]: https://github.com/dgraph-io/badger/blob/main/CHANGELOG.md ## Table of Contents @@ -77,7 +77,7 @@ This will install the badger command line utility into your $GOBIN path. ## Badger Documentation -Badger Documentation is available at https://docs.hypermode.com/badger +Badger Documentation is available at [https://badger.dgraph.io](https://badger.dgraph.io) ## Resources @@ -141,7 +141,7 @@ including graphs can be found the blog posts (linked above). Below is a list of known projects that use Badger: -- [Dgraph](https://github.com/hypermodeinc/dgraph) - Distributed graph database. +- [Dgraph](https://github.com/dgraph-io/dgraph) - Distributed graph database. - [Jaeger](https://github.com/jaegertracing/jaeger) - Distributed tracing platform. - [go-ipfs](https://github.com/ipfs/go-ipfs) - Go client for the InterPlanetary File System (IPFS), a new hypermedia distribution protocol. @@ -260,7 +260,6 @@ If you're interested in contributing to Badger see [CONTRIBUTING](./CONTRIBUTING ## Contact -- Please use [Github issues](https://github.com/hypermodeinc/badger/issues) for filing bugs. -- Please use [discuss.hypermode.com](https://discuss.hypermode.com) for questions, discussions, and - feature requests. -- Follow us on Twitter [@hypermodeinc](https://twitter.com/hypermodeinc). +- Please use [Github issues](https://github.com/dgraph-io/badger/issues) for filing bugs. +- Please use [Discussions](https://github.com/orgs/dgraph-io/discussions) for questions, + discussions, and feature requests. diff --git a/SECURITY.md b/SECURITY.md index 361a26c09..fe1355d5d 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -5,6 +5,6 @@ vulnerability in Badger, we encourage you to let us know right away. We will investigate all legitimate reports and do our best to quickly fix the problem. Please report any issues or vulnerabilities via GitHub Security Advisories instead of posting a public issue in -GitHub. You can also send security communications to security@hypermode.com. +GitHub. You can also send security communications to dgraph-admin@istaridigital.com. Please include the version identifier and details on how the vulnerability can be exploited. diff --git a/backup.go b/backup.go index 4337e4d16..df46649de 100644 --- a/backup.go +++ b/backup.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/backup_test.go b/backup_test.go index 2be712e38..02187f212 100644 --- a/backup_test.go +++ b/backup_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/Makefile b/badger/Makefile index e567e3440..9ba56c092 100644 --- a/badger/Makefile +++ b/badger/Makefile @@ -1,5 +1,5 @@ # -# SPDX-FileCopyrightText: © Hypermode Inc. +# SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. # SPDX-License-Identifier: Apache-2.0 # diff --git a/badger/cmd/backup.go b/badger/cmd/backup.go index bfcbf8db2..ad8067527 100644 --- a/badger/cmd/backup.go +++ b/badger/cmd/backup.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/bank.go b/badger/cmd/bank.go index a314c36f1..832f255c9 100644 --- a/badger/cmd/bank.go +++ b/badger/cmd/bank.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/bench.go b/badger/cmd/bench.go index ae074a3c8..2cfcbc98c 100644 --- a/badger/cmd/bench.go +++ b/badger/cmd/bench.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/flatten.go b/badger/cmd/flatten.go index 1c0ae7938..b36d37d5d 100644 --- a/badger/cmd/flatten.go +++ b/badger/cmd/flatten.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/info.go b/badger/cmd/info.go index 719820fb4..bc4d04b47 100644 --- a/badger/cmd/info.go +++ b/badger/cmd/info.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/pick_table_bench.go b/badger/cmd/pick_table_bench.go index 4cd86488f..8e20c9928 100644 --- a/badger/cmd/pick_table_bench.go +++ b/badger/cmd/pick_table_bench.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/read_bench.go b/badger/cmd/read_bench.go index fd158156c..4f7581593 100644 --- a/badger/cmd/read_bench.go +++ b/badger/cmd/read_bench.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/restore.go b/badger/cmd/restore.go index 25732f113..eb9d45cef 100644 --- a/badger/cmd/restore.go +++ b/badger/cmd/restore.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/root.go b/badger/cmd/root.go index 29ad7de9a..45127dbf1 100644 --- a/badger/cmd/root.go +++ b/badger/cmd/root.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/rotate.go b/badger/cmd/rotate.go index 3a3233340..591e6af6d 100644 --- a/badger/cmd/rotate.go +++ b/badger/cmd/rotate.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/rotate_test.go b/badger/cmd/rotate_test.go index 2b5ffdc9b..ab58bc8a0 100644 --- a/badger/cmd/rotate_test.go +++ b/badger/cmd/rotate_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/stream.go b/badger/cmd/stream.go index c86dd9ce9..b6a9d5a26 100644 --- a/badger/cmd/stream.go +++ b/badger/cmd/stream.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/cmd/write_bench.go b/badger/cmd/write_bench.go index fc8a86bc9..19808e6c8 100644 --- a/badger/cmd/write_bench.go +++ b/badger/cmd/write_bench.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/badger/main.go b/badger/main.go index 212e7e4be..0307b8871 100644 --- a/badger/main.go +++ b/badger/main.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/batch.go b/batch.go index 63e619097..de3131fcb 100644 --- a/batch.go +++ b/batch.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/batch_test.go b/batch_test.go index f93c0949f..d184fc3d4 100644 --- a/batch_test.go +++ b/batch_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/changes.sh b/changes.sh index 83832c5cd..0aa49ec7a 100755 --- a/changes.sh +++ b/changes.sh @@ -1,7 +1,7 @@ #!/bin/bash set -e -GHORG=${GHORG:-hypermodeinc} +GHORG=${GHORG:-dgraph-io} GHREPO=${GHREPO:-badger} cat < + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/db.go b/db.go index f30949ebf..2e6eadc19 100644 --- a/db.go +++ b/db.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/db2_test.go b/db2_test.go index f541a628d..b3116d1b5 100644 --- a/db2_test.go +++ b/db2_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -641,7 +641,7 @@ func TestL0GCBug(t *testing.T) { require.NoError(t, db2.Close()) } -// Regression test for https://github.com/hypermodeinc/badger/issues/1126 +// Regression test for https://github.com/dgraph-io/badger/issues/1126 // // The test has 3 steps // Step 1 - Create badger data. It is necessary that the value size is diff --git a/db_test.go b/db_test.go index 21293467d..5c82ac5d9 100644 --- a/db_test.go +++ b/db_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/dir_other.go b/dir_other.go index f959c8080..1fb3b26f7 100644 --- a/dir_other.go +++ b/dir_other.go @@ -2,7 +2,7 @@ // +build js wasip1 /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/dir_plan9.go b/dir_plan9.go index d6cb8d9bd..15e0b72ec 100644 --- a/dir_plan9.go +++ b/dir_plan9.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/dir_unix.go b/dir_unix.go index dab0224fe..e56434ab6 100644 --- a/dir_unix.go +++ b/dir_unix.go @@ -2,7 +2,7 @@ // +build !windows,!plan9,!js,!wasip1 /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/dir_windows.go b/dir_windows.go index 237649eb4..b345e1f18 100644 --- a/dir_windows.go +++ b/dir_windows.go @@ -2,7 +2,7 @@ // +build windows /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -96,5 +96,5 @@ func (g *directoryLockGuard) release() error { } // Windows doesn't support syncing directories to the file system. See -// https://github.com/hypermodeinc/badger/issues/699#issuecomment-504133587 for more details. +// https://github.com/dgraph-io/badger/issues/699#issuecomment-504133587 for more details. func syncDir(dir string) error { return nil } diff --git a/discard.go b/discard.go index 424cb3a14..c6aa221f2 100644 --- a/discard.go +++ b/discard.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/discard_test.go b/discard_test.go index 413a503eb..7f3924750 100644 --- a/discard_test.go +++ b/discard_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md index 1e8772a64..b3561ea8a 100644 --- a/docs/troubleshooting.md +++ b/docs/troubleshooting.md @@ -11,8 +11,8 @@ call is made internally in the loop. That causes Badger to acquire read locks ov files to avoid value log GC removing the file from underneath. As a side effect, this also blocks a new value log GC file from being created, when the value log file boundary is hit. -Please see GitHub issues [#293](https://github.com/hypermodeinc/badger/issues/293) and -[#315](https://github.com/hypermodeinc/badger/issues/315). +Please see GitHub issues [#293](https://github.com/dgraph-io/badger/issues/293) and +[#315](https://github.com/dgraph-io/badger/issues/315). There are multiple workarounds during iteration: @@ -60,8 +60,8 @@ Just like forward iteration goes to the first key which is equal or greater than reverse iteration goes to the first key which is equal or lesser than the SEEK key. Therefore, SEEK key would not be part of the results. You can typically add a `0xff` byte as a suffix to the SEEK key to include it in the results. See the following issues: -[#436](https://github.com/hypermodeinc/badger/issues/436) and -[#347](https://github.com/hypermodeinc/badger/issues/347). +[#436](https://github.com/dgraph-io/badger/issues/436) and +[#347](https://github.com/dgraph-io/badger/issues/347). ## Which instances should I use for Badger? @@ -133,9 +133,9 @@ compression and the library requires [`gcc/cgo`](https://pkg.go.dev/cmd/cgo). Yo without Cgo by running `CGO_ENABLED=0 go build`. This builds Badger without the support for ZSTD compression algorithm. -As of Badger versions [v2.2007.4](https://github.com/hypermodeinc/badger/releases/tag/v2.2007.4) and -[v3.2103.1](https://github.com/hypermodeinc/badger/releases/tag/v3.2103.1) the DataDog ZSTD library -was replaced by pure Golang version and Cgo is no longer required. The new library is +As of Badger versions [v2.2007.4](https://github.com/dgraph-io/badger/releases/tag/v2.2007.4) and +[v3.2103.1](https://github.com/dgraph-io/badger/releases/tag/v3.2103.1) the DataDog ZSTD library was +replaced by pure Golang version and Cgo is no longer required. The new library is [backwards compatible in nearly all cases](https://discuss.hypermode.com/t/use-pure-go-zstd-implementation/8670/10): diff --git a/errors.go b/errors.go index 3063fd627..296f21494 100644 --- a/errors.go +++ b/errors.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/fb/flatbuffer.fbs b/fb/flatbuffer.fbs index af73c4dcf..dce714b57 100644 --- a/fb/flatbuffer.fbs +++ b/fb/flatbuffer.fbs @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/histogram.go b/histogram.go index a2f00db52..3cda875bd 100644 --- a/histogram.go +++ b/histogram.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/histogram_test.go b/histogram_test.go index 74eb76463..e3fce6d1c 100644 --- a/histogram_test.go +++ b/histogram_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/integration/testgc/main.go b/integration/testgc/main.go index 301ce9880..089c0a868 100644 --- a/integration/testgc/main.go +++ b/integration/testgc/main.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/iterator.go b/iterator.go index 0ff786db0..f57cfa4c9 100644 --- a/iterator.go +++ b/iterator.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -106,7 +106,7 @@ func (item *Item) Value(fn func(val []byte) error) error { // returned. Tip: It might make sense to reuse the returned slice as dst argument for the next call. // // This function is useful in long running iterate/update transactions to avoid a write deadlock. -// See Github issue: https://github.com/hypermodeinc/badger/issues/315 +// See Github issue: https://github.com/dgraph-io/badger/issues/315 func (item *Item) ValueCopy(dst []byte) ([]byte, error) { item.wg.Wait() if item.status == prefetched { diff --git a/iterator_test.go b/iterator_test.go index 7bdaa363f..1b36cf660 100644 --- a/iterator_test.go +++ b/iterator_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -51,7 +51,7 @@ func TestPickTables(t *testing.T) { within([]byte("abc"), []byte("abb123"), []byte("ad")) within([]byte("abc"), []byte("abc123"), []byte("abd234")) within([]byte("abc"), []byte("abc123"), []byte("abc456")) - // Regression test for https://github.com/hypermodeinc/badger/issues/992 + // Regression test for https://github.com/dgraph-io/badger/issues/992 within([]byte{0, 0, 1}, []byte{0}, []byte{0, 0, 1}) outside("abd", "abe", "ad") diff --git a/key_registry.go b/key_registry.go index 028fae0d1..8ef038d7a 100644 --- a/key_registry.go +++ b/key_registry.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/key_registry_test.go b/key_registry_test.go index 390029261..4cf49c75b 100644 --- a/key_registry_test.go +++ b/key_registry_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/level_handler.go b/level_handler.go index 391803f5c..0c58e1fef 100644 --- a/level_handler.go +++ b/level_handler.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/levels.go b/levels.go index 5d20d3417..77eab458a 100644 --- a/levels.go +++ b/levels.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/levels_test.go b/levels_test.go index 545ce73fd..c6b4786d0 100644 --- a/levels_test.go +++ b/levels_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/logger.go b/logger.go index 408ff0278..520e918b6 100644 --- a/logger.go +++ b/logger.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/logger_test.go b/logger_test.go index 07f8569fc..653625028 100644 --- a/logger_test.go +++ b/logger_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/managed_db.go b/managed_db.go index 7afab5eba..e1d3699ed 100644 --- a/managed_db.go +++ b/managed_db.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/managed_db_test.go b/managed_db_test.go index 58acbc8dc..eeef3c219 100644 --- a/managed_db_test.go +++ b/managed_db_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/manifest.go b/manifest.go index 27c328114..cabe0b137 100644 --- a/manifest.go +++ b/manifest.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -368,14 +368,14 @@ func ReplayManifestFile(fp *os.File, extMagic uint16, opt Options) (Manifest, in return Manifest{}, 0, //nolint:lll fmt.Errorf("manifest has unsupported version: %d (we support %d).\n"+ - "Please see https://docs.hypermode.com/badger/troubleshooting#i-see-manifest-has-unsupported-version-x-we-support-y-error"+ - " on how to fix this.", + "Please see https://github.com/dgraph-io/badger/blob/main/docs/troubleshooting.md#i-see-manifest-has-unsupported-version-x-we-support-y-error"+ + " on how to fix this", version, badgerMagicVersion) } if extVersion != extMagic { return Manifest{}, 0, - fmt.Errorf("Cannot open DB because the external magic number doesn't match. "+ - "Expected: %d, version present in manifest: %d\n", extMagic, extVersion) + fmt.Errorf("cannot open DB because the external magic number doesn't match, "+ + "expected: %d, version present in manifest: %d", extMagic, extVersion) } stat, err := fp.Stat() diff --git a/manifest_test.go b/manifest_test.go index b3d2b8e7e..9816d04c2 100644 --- a/manifest_test.go +++ b/manifest_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -204,7 +204,7 @@ func TestManifestRewrite(t *testing.T) { require.NoError(t, db.Close()) removeDir(dir) }() - + deletionsThreshold := 10 mf, m, err := helpOpenOrCreateManifestFile(dir, false, 0, deletionsThreshold, db.opt) diff --git a/memtable.go b/memtable.go index 58461cfb9..161a463bc 100644 --- a/memtable.go +++ b/memtable.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/merge.go b/merge.go index afc14df9b..9c94c0c0c 100644 --- a/merge.go +++ b/merge.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/merge_test.go b/merge_test.go index 304916e84..36bffb887 100644 --- a/merge_test.go +++ b/merge_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/metrics_test.go b/metrics_test.go index 43743d0d5..332572484 100644 --- a/metrics_test.go +++ b/metrics_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/options.go b/options.go index 54eeed51f..2ead08c30 100644 --- a/options.go +++ b/options.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/options/options.go b/options/options.go index e5b580d97..3dcf90128 100644 --- a/options/options.go +++ b/options/options.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/options_test.go b/options_test.go index a7445159d..9800d90d6 100644 --- a/options_test.go +++ b/options_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pb/badgerpb4.pb.go b/pb/badgerpb4.pb.go index 6af70a1f4..9e3745cec 100644 --- a/pb/badgerpb4.pb.go +++ b/pb/badgerpb4.pb.go @@ -1,5 +1,5 @@ // -// SPDX-FileCopyrightText: © Hypermode Inc. +// SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. // SPDX-License-Identifier: Apache-2.0 // Use protos/gen.sh to generate .pb.go files. diff --git a/pb/badgerpb4.proto b/pb/badgerpb4.proto index 530d82891..0eb8abeaf 100644 --- a/pb/badgerpb4.proto +++ b/pb/badgerpb4.proto @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/pb/protos_test.go b/pb/protos_test.go index 37357a50c..7a2f596f6 100644 --- a/pb/protos_test.go +++ b/pb/protos_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/publisher.go b/publisher.go index 8c51a56b2..c8682ae5e 100644 --- a/publisher.go +++ b/publisher.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/publisher_test.go b/publisher_test.go index 58f35352e..bd31d294c 100644 --- a/publisher_test.go +++ b/publisher_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/skl/arena.go b/skl/arena.go index 33c448482..dcf529b02 100644 --- a/skl/arena.go +++ b/skl/arena.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/skl/skl.go b/skl/skl.go index 27dd12290..465caa8b0 100644 --- a/skl/skl.go +++ b/skl/skl.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/skl/skl_test.go b/skl/skl_test.go index 557946e2a..4714209cf 100644 --- a/skl/skl_test.go +++ b/skl/skl_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/stream.go b/stream.go index ae468abda..be3930f99 100644 --- a/stream.go +++ b/stream.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/stream_test.go b/stream_test.go index a3dd053e2..1da6f70bf 100644 --- a/stream_test.go +++ b/stream_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/stream_writer.go b/stream_writer.go index 910a6e053..a3d563f1a 100644 --- a/stream_writer.go +++ b/stream_writer.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/stream_writer_test.go b/stream_writer_test.go index ef56068ab..545ab43d9 100644 --- a/stream_writer_test.go +++ b/stream_writer_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/structs.go b/structs.go index 75aec4bc5..1b7d0f99a 100644 --- a/structs.go +++ b/structs.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -45,8 +45,8 @@ func (p valuePointer) Encode() []byte { // Decode decodes the value pointer into the provided byte buffer. func (p *valuePointer) Decode(b []byte) { // Copy over data from b into p. Using *p=unsafe.pointer(...) leads to - // pointer alignment issues. See https://github.com/hypermodeinc/badger/issues/1096 - // and comment https://github.com/hypermodeinc/badger/pull/1097#pullrequestreview-307361714 + // pointer alignment issues. See https://github.com/dgraph-io/badger/issues/1096 + // and comment https://github.com/dgraph-io/badger/pull/1097#pullrequestreview-307361714 copy(((*[vptrSize]byte)(unsafe.Pointer(p))[:]), b[:vptrSize]) } diff --git a/structs_test.go b/structs_test.go index d123afd28..823116453 100644 --- a/structs_test.go +++ b/structs_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -13,7 +13,7 @@ import ( "github.com/stretchr/testify/require" ) -// Regression test for github.com/hypermodeinc/badger/pull/1800 +// Regression test for github.com/dgraph-io/badger/pull/1800 func TestLargeEncode(t *testing.T) { var headerEnc [maxHeaderSize]byte h := header{math.MaxUint32, math.MaxUint32, math.MaxUint64, math.MaxUint8, math.MaxUint8} diff --git a/table/builder.go b/table/builder.go index 70ebc99bd..d7bc5c86b 100644 --- a/table/builder.go +++ b/table/builder.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -51,8 +51,8 @@ func (h header) Encode() []byte { // Decode decodes the header. func (h *header) Decode(buf []byte) { // Copy over data from buf into h. Using *h=unsafe.pointer(...) leads to - // pointer alignment issues. See https://github.com/hypermodeinc/badger/issues/1096 - // and comment https://github.com/hypermodeinc/badger/pull/1097#pullrequestreview-307361714 + // pointer alignment issues. See https://github.com/dgraph-io/badger/issues/1096 + // and comment https://github.com/dgraph-io/badger/pull/1097#pullrequestreview-307361714 copy(((*[headerSize]byte)(unsafe.Pointer(h))[:]), buf[:headerSize]) } diff --git a/table/builder_test.go b/table/builder_test.go index e410344b5..7a1f96bff 100644 --- a/table/builder_test.go +++ b/table/builder_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/table/iterator.go b/table/iterator.go index 7277b2e37..772f6396e 100644 --- a/table/iterator.go +++ b/table/iterator.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/table/merge_iterator.go b/table/merge_iterator.go index e4a9377df..b42d79e03 100644 --- a/table/merge_iterator.go +++ b/table/merge_iterator.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/table/merge_iterator_test.go b/table/merge_iterator_test.go index 4811c9607..c19a3dc6f 100644 --- a/table/merge_iterator_test.go +++ b/table/merge_iterator_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/table/table.go b/table/table.go index a32515e2d..716477fec 100644 --- a/table/table.go +++ b/table/table.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/table/table_test.go b/table/table_test.go index 830f990e9..18a950323 100644 --- a/table/table_test.go +++ b/table/table_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/test.sh b/test.sh index 11da0ef9f..dae650af0 100755 --- a/test.sh +++ b/test.sh @@ -27,7 +27,7 @@ popd # Run the memory intensive tests first. manual() { - timeout="-timeout 2m" + timeout="-timeout 5m" echo "==> Running package tests for $packages" set -e go env -w GOTOOLCHAIN=go1.25.0+auto @@ -106,6 +106,6 @@ write_coverage() { # parallel tests currently not working # parallel --halt now,fail=1 --progress --line-buffer ::: stream manual root # run tests in sequence -root -stream +#root +#stream manual diff --git a/test_extensions.go b/test_extensions.go index 0a863ea9f..bcc3272bf 100644 --- a/test_extensions.go +++ b/test_extensions.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/trie/trie.go b/trie/trie.go index 5675a4e14..e448f9083 100644 --- a/trie/trie.go +++ b/trie/trie.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -121,7 +121,7 @@ func (t *Trie) fix(m pb.Match, id uint64, op int) error { ignore, err := parseIgnoreBytes(m.IgnoreBytes) if err != nil { - return fmt.Errorf( "while parsing ignore bytes: %s: %w", m.IgnoreBytes,err) + return fmt.Errorf("while parsing ignore bytes: %s: %w", m.IgnoreBytes, err) } for len(ignore) < len(m.Prefix) { ignore = append(ignore, false) diff --git a/trie/trie_test.go b/trie/trie_test.go index 1b3e8e527..0bd122b4e 100644 --- a/trie/trie_test.go +++ b/trie/trie_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/txn.go b/txn.go index d5a6af524..9c916d18a 100644 --- a/txn.go +++ b/txn.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/txn_test.go b/txn_test.go index 9a776c4ef..e8ee05386 100644 --- a/txn_test.go +++ b/txn_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -867,7 +867,7 @@ func TestArmV7Issue311Fix(t *testing.T) { // This test tries to perform a GetAndSet operation using multiple concurrent // transaction and only one of the transactions should be successful. -// Regression test for https://github.com/hypermodeinc/badger/issues/1289 +// Regression test for https://github.com/dgraph-io/badger/issues/1289 func TestConflict(t *testing.T) { key := []byte("foo") var setCount atomic.Uint32 diff --git a/util.go b/util.go index d99abee04..bab3697af 100644 --- a/util.go +++ b/util.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/value.go b/value.go index e30a80cfb..553e77c30 100644 --- a/value.go +++ b/value.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/value_test.go b/value_test.go index 7999cc968..11783eb74 100644 --- a/value_test.go +++ b/value_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ @@ -1013,7 +1013,7 @@ func BenchmarkReadWrite(b *testing.B) { } } -// Regression test for https://github.com/hypermodeinc/badger/issues/817 +// Regression test for https://github.com/dgraph-io/badger/issues/817 // This test verifies if fully corrupted memtables are deleted on reopen. func TestValueLogTruncate(t *testing.T) { dir, err := os.MkdirTemp("", "badger-test") @@ -1103,7 +1103,7 @@ func TestValueEntryChecksum(t *testing.T) { require.NoError(t, db.Close()) }) - // Regression test for https://github.com/hypermodeinc/badger/issues/1049 + // Regression test for https://github.com/dgraph-io/badger/issues/1049 t.Run("Corruption", func(t *testing.T) { dir, err := os.MkdirTemp("", "badger-test") require.NoError(t, err) diff --git a/watermark_edge_test.go b/watermark_edge_test.go index 03f27c5a0..8a5171433 100644 --- a/watermark_edge_test.go +++ b/watermark_edge_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/checksum.go b/y/checksum.go index 0cf538378..725c9300c 100644 --- a/y/checksum.go +++ b/y/checksum.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/encrypt.go b/y/encrypt.go index 676d9eaf5..fb04df299 100644 --- a/y/encrypt.go +++ b/y/encrypt.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/encrypt_test.go b/y/encrypt_test.go index a52ee3fd7..3dd32a755 100644 --- a/y/encrypt_test.go +++ b/y/encrypt_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/error.go b/y/error.go index fcd293c4e..5e95bc3b2 100644 --- a/y/error.go +++ b/y/error.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/error_test.go b/y/error_test.go index e9f3a5820..998b6d511 100644 --- a/y/error_test.go +++ b/y/error_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/event_log.go b/y/event_log.go index 603e043b7..ed6a3aeb1 100644 --- a/y/event_log.go +++ b/y/event_log.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/file_dsync.go b/y/file_dsync.go index ceebac0ff..a5e13046e 100644 --- a/y/file_dsync.go +++ b/y/file_dsync.go @@ -2,7 +2,7 @@ // +build !dragonfly,!freebsd,!windows,!plan9,!js,!wasip1 /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/file_nodsync.go b/y/file_nodsync.go index 209bb49e3..70b7d5cb5 100644 --- a/y/file_nodsync.go +++ b/y/file_nodsync.go @@ -2,7 +2,7 @@ // +build dragonfly freebsd windows plan9 /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/iterator.go b/y/iterator.go index ccaa9a422..ec25552b7 100644 --- a/y/iterator.go +++ b/y/iterator.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/metrics.go b/y/metrics.go index 8834433b1..dd9775060 100644 --- a/y/metrics.go +++ b/y/metrics.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/watermark.go b/y/watermark.go index 5479c9cbf..358f9485d 100644 --- a/y/watermark.go +++ b/y/watermark.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/y.go b/y/y.go index 761e87038..07ca6ea05 100644 --- a/y/y.go +++ b/y/y.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/y_test.go b/y/y_test.go index 48ee45e60..a321bd50b 100644 --- a/y/y_test.go +++ b/y/y_test.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */ diff --git a/y/zstd.go b/y/zstd.go index 5bdb90887..517e6cb55 100644 --- a/y/zstd.go +++ b/y/zstd.go @@ -1,5 +1,5 @@ /* - * SPDX-FileCopyrightText: © Hypermode Inc. + * SPDX-FileCopyrightText: © 2017-2025 Istari Digital, Inc. * SPDX-License-Identifier: Apache-2.0 */