Skip to content

Upgrade gen_batch_server to 0.10.0 and update WAL configuration#615

Merged
kjnilsson merged 1 commit intomainfrom
gen-batch-server-0.10.0
Apr 1, 2026
Merged

Upgrade gen_batch_server to 0.10.0 and update WAL configuration#615
kjnilsson merged 1 commit intomainfrom
gen-batch-server-0.10.0

Conversation

@kjnilsson
Copy link
Copy Markdown
Contributor

This update upgrades the gen_batch_server dependency from 0.9.2 to 0.10.0 and adjusts the WAL (Write-Ahead Log) configuration accordingly:

  • Update gen_batch_server dependency to 0.10.0 in Makefile and rebar.config
  • Change default wal_hibernate_after from undefined to infinity
  • Simplify and consolidate WAL options handling in ra_log_wal
  • Add flush_mailbox_on_terminate option with 10 mailbox summary messages
  • Update type specification for wal_hibernate_after to accept infinity

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Upgrades the gen_batch_server dependency and adjusts Ra’s WAL configuration defaults/options to match the new version and desired runtime behavior.

Changes:

  • Bump gen_batch_server from 0.9.2 to 0.10.0 (rebar + erlang.mk/Makefile + lockfile).
  • Change the default wal_hibernate_after from undefined to infinity and update the public config type accordingly.
  • Consolidate WAL gen_batch_server startup options and enable flush_mailbox_on_terminate.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/ra_system.erl Expands wal_hibernate_after type to allow infinity.
src/ra_log_wal.erl Simplifies gen_batch_server:start_link/4 options; adds terminate mailbox flushing; sets hibernate_after default to infinity.
src/ra_log_sup.erl Changes derived WAL config default for wal_hibernate_after to infinity.
rebar.lock Locks gen_batch_server at 0.10.0 with updated hashes.
rebar.config Updates gen_batch_server dependency version to 0.10.0.
Makefile Updates dep_gen_batch_server to 0.10.0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

This update upgrades the gen_batch_server dependency from 0.9.2 to 0.10.0 and
adjusts the WAL (Write-Ahead Log) configuration accordingly:

- Update gen_batch_server dependency to 0.10.0 in Makefile and rebar.config
- Change default wal_hibernate_after from undefined to infinity
- Simplify and consolidate WAL options handling in ra_log_wal
- Add flush_mailbox_on_terminate option with 10 mailbox summary messages
- Update type specification for wal_hibernate_after to accept infinity
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@kjnilsson kjnilsson marked this pull request as ready for review April 1, 2026 15:49
@kjnilsson kjnilsson merged commit de9025d into main Apr 1, 2026
17 of 18 checks passed
@kjnilsson kjnilsson deleted the gen-batch-server-0.10.0 branch April 1, 2026 15:49
@michaelklishin michaelklishin added this to the 3.1.3 milestone Apr 1, 2026
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.

3 participants