Skip to content

Bump org.agrona:agrona from 1.22.0 to 2.3.2#64

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/org.agrona-agrona-2.3.2
Open

Bump org.agrona:agrona from 1.22.0 to 2.3.2#64
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/gradle/org.agrona-agrona-2.3.2

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Nov 11, 2025

Bumps org.agrona:agrona from 1.22.0 to 2.3.2.

Release notes

Sourced from org.agrona:agrona's releases.

2.3.2

  • Prevent concurrent MarkFile activation when org.agrona.MarkFile.mapNewOrExistingMarkFile is used.

    If the mark file already exists and is not active, then the activity timestamp (timestampFieldOffset) is atomically set to a special sentinel value (org.agrona.MarkFile.ACTIVATION_IN_PROGRESS_TIMESTAMP) to prevent other processes from concurrent activation.

    NB: If the current activation fails it will leave the activity timestamp at a sentinel value which will prevent a restart of the process. Therefore, it is recommended to reset the activity timestamp upon failure.

2.3.1

  • Fixed racy file creation in org.agrona.MarkFile.mapNewOrExistingMarkFile. (#340)
  • Upgrade to ByteBuddy 1.17.8.
  • Upgrade to Checkstyle 12.1.1.
  • Upgrade to JUnit 6.0.1.

2.3.0

  • [Breaking] Changed org.agrona.concurrent.ShutdownSignalBarrier to use shutdown hooks instead of signals.

    Previously ShutdownSignalBarrier relied on intercepting SIGINT and SIGTERM OS signals by overriding JVM's signal handling which was preventing shutdown hooks from be executed. This in turn was breaking applications and frameworks that relied on shutdown hooks for clean termination.

    New implementation uses shutdown hooks instead and requires ShutdownSignalBarrier to be explicitly closed.

    NB: Failure to close ShutdownSignalBarrier might result in JVM not terminating!

    As the result the code using ShutdownSignalBarrier needs to be updated:

    • Old:
    class UsageSample
    {
        public static void main(final String[] args) 
        {
            try (MyService service = new MyService())
            {
                new ShutdownSignalBarrier().await();
            }
        }
    }
    • New:
    class UsageSample
    { 
        public static void main(final String[] args) 
        {
            try (ShutdownSignalBarrier barrier = new ShutdownSignalBarrier();
                 MyService service = new MyService())

... (truncated)

Changelog

Sourced from org.agrona:agrona's changelog.

== 2.3.2 (2025-11-08)

  • Prevent concurrent MarkFile activation when org.agrona.MarkFile.mapNewOrExistingMarkFile is used.

If the mark file already exists and is not active, then the activity timestamp (timestampFieldOffset) is atomically set to a special sentinel value (org.agrona.MarkFile.ACTIVATION_IN_PROGRESS_TIMESTAMP) to prevent other processes from concurrent activation. + NB: If the current activation fails it will leave the activity timestamp at a sentinel value which will prevent a restart of the process. Therefore, it is recommended to reset the activity timestamp upon failure.

== 2.3.1 (2025-11-03)

  • Fixed racy file creation in org.agrona.MarkFile.mapNewOrExistingMarkFile. (aeron-io/agrona#340)
  • Upgrade to ByteBuddy 1.17.8.
  • Upgrade to Checkstyle 12.1.1.
  • Upgrade to JUnit 6.0.1.

== 2.3.0 (2025-09-29)

  • [Breaking] Changed org.agrona.concurrent.ShutdownSignalBarrier to use shutdown hooks instead of signals.

Previously ShutdownSignalBarrier relied on intercepting SIGINT and SIGTERM https://man7.org/linux/man-pages/man7/signal.7.html[OS signals] by overriding JVM's signal handling which was preventing shutdown hooks from be executed. This in turn was breaking applications and frameworks that relied on shutdown hooks for clean termination. + New implementation uses shutdown hooks instead and requires ShutdownSignalBarrier to be explicitly closed. + NB: Failure to close ShutdownSignalBarrier might result in JVM not terminating! + As the result the code using ShutdownSignalBarrier needs to be updated: +

  • Old:

[source,java]

class UsageSample { public static void main(final String[] args) { try (MyService service = new MyService()) { new ShutdownSignalBarrier().await(); } } }

  • New:

... (truncated)

Commits
  • fd43567 2.3.2 released.
  • 9113129 [Java] Prevent concurrent MarkFile activation.
  • a9dd77e post release bump
  • c1c1558 2.3.1 released.
  • 47ab687 JUnit 6 fixes.
  • 5e8542f [Java] Formatting.
  • a0b3d6d [Java] Fix file creation race condition in `MarkFile.mapNewOrExistingMarkFile...
  • b3cb60a [CI] Simplify Windows D: drive usage.
  • 0567a7d [CI] Upgrade to setup-gradle and upload-artifact to v5.
  • b720176 [CI] Use temporary storage drive on Windows to lower build times.
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Nov 11, 2025

Labels

The following labels could not be found: dependencies, gradle. Please create them before Dependabot can add them to a pull request.

Please fix the above issues or remove invalid values from dependabot.yml.

@rustyrazorblade
Copy link
Contributor

@dependabot rebase

Bumps [org.agrona:agrona](https://github.com/aeron-io/agrona) from 1.22.0 to 2.3.2.
- [Release notes](https://github.com/aeron-io/agrona/releases)
- [Changelog](https://github.com/aeron-io/agrona/blob/master/CHANGELOG.adoc)
- [Commits](aeron-io/agrona@1.22.0...2.3.2)

---
updated-dependencies:
- dependency-name: org.agrona:agrona
  dependency-version: 2.3.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot force-pushed the dependabot/gradle/org.agrona-agrona-2.3.2 branch from c5faf5f to c8020d3 Compare November 11, 2025 21:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant