Skip to content

Improve compile time behavior to support multiversion deployments#72

Merged
jessestimpson merged 4 commits intofoundationdb-beam:mainfrom
jessestimpson:multiversion
Mar 6, 2026
Merged

Improve compile time behavior to support multiversion deployments#72
jessestimpson merged 4 commits intofoundationdb-beam:mainfrom
jessestimpson:multiversion

Conversation

@jessestimpson
Copy link
Copy Markdown
Collaborator

@jessestimpson jessestimpson commented Mar 6, 2026

Enhancements

  • Compile-time configuration: rebar.config.script reworked to support ERLFDB_COMPILE_API_VERSION, ERLFDB_INCLUDE_DIR, and ERLFDB_FDBCLI env vars, with better fallback behavior when fdbcli isn't available
  • Multiversion CI job: new GitHub Action that compiles erlfdb against FDB 7.2.2, runs a single fdbserver, upgrades to 7.3.62, and verifies the multi-version client connects to both

Documentation

  • New notes/configuration.md covering all compile-time and runtime options

Copy link
Copy Markdown
Contributor

@weaversam8 weaversam8 left a comment

Choose a reason for hiding this comment

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

Left a few comments about documentation, but logic wise this looks great. No objections.

Comment thread notes/configuration.md
Comment thread notes/configuration.md
Comment thread notes/configuration.md
Comment thread notes/configuration.md
Comment thread rebar.config.script
Comment thread rebar.config.script Outdated
Comment thread src/erlfdb_nif.erl
Comment thread src/erlfdb_nif.erl
Comment thread test/multiversion/run_upgrade_test.sh
Comment thread notes/configuration.md Outdated
@jessestimpson jessestimpson merged commit 8bf043e into foundationdb-beam:main Mar 6, 2026
6 checks passed
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.

2 participants