Scrivio Interview library
ScenarioPrincipal6 min read · updated 12 November 2026

Several open-source data stores your company relies on have changed licences in recent years, and cloud providers offer forks or compatible services. How would you decide whether to stay, move to a fork, or move to a managed compatible service?

I would decide in three steps. First, find out what the licence change actually means for how we use the product, self-hosted internally, offered as a service, or redistributed, with legal advice, because for many internal users nothing changes. Second, compare the original and the fork on health, meaning maintainers, release cadence and compatibility, and compare self-hosting with a managed compatible service, which reduces operations but adds provider dependency. Third, whichever we choose, keep our usage to the widely compatible feature set so options stay open, and if we switch, do it as a staged move backed by compatibility tests.

Why this question is asked

In a few years several widely used data stores moved from permissive open-source licences to source-available ones: MongoDB in 2018, Elasticsearch in 2021, Redis in 2024, and others in neighbouring areas. Forks such as OpenSearch and Valkey appeared, and cloud providers offered compatible managed services. For an engineering leader this creates a decision with legal, technical and financial parts, usually under some pressure. Interviewers ask this scenario to see whether we can reason calmly instead of reacting to headlines. In this answer, we will recap what changed and why, then walk through assessing the licence impact, judging fork health, weighing managed services, protecting our options, and running a staged move.

1A Quick Recap: What Changed and Why

Permissive licences such as Apache 2.0 or BSD let anyone use, modify and offer the software as a service. Several vendors felt that large cloud providers were selling their software as managed services without contributing back, so they switched to licences such as the Server Side Public License (SSPL) or the Redis Source Available License, which restrict offering the product as a competing service. These are often called source-available, because the code is visible but the licence is not approved as open source.

Communities and cloud providers responded with forks of the last permissive version: OpenSearch from Elasticsearch, Valkey from Redis under the Linux Foundation. Some vendors later added an AGPL option again. Licences keep moving, so every fact here should be checked against the current terms at decision time.

2What Does the Change Mean for Our Actual Use?

The first question is not which product is better but whether we are affected at all. Licences like SSPL mainly restrict offering the software itself as a service to third parties. A company that runs Redis or Elasticsearch internally behind its own application is in a different position from a company whose product is a hosted search service, and different again from one that ships the software inside an appliance it sells. We write down precisely how we use each product, which versions we run, and whether we modify or distribute it, and we take that description to legal counsel, because the interpretation is a legal judgment, not an engineering one.

There is also a practical side: continuing to use an older permissive version is allowed, but it stops receiving security fixes at some point, so staying put indefinitely is rarely an option even when the licence is fine.

Step throughDeciding per data store
  1. Describe our use preciselyinternal, as a service, redistributed, modified
  2. Does the new licence restrict that use?
    YesPlan a move: fork, managed service or alternativeNoStaying is allowed
  3. Is the original still the healthiest option?
    YesStay, upgrade normallyNoCompare fork and managed services
  4. Choose, then stage the movecompatibility tests, dual running, rollback path

4 steps in order. Play them, or step through them one at a time.

3Judge the Health of the Fork and the Original

A fork is only a good home if it will still be maintained in five years. We look at evidence rather than announcements: how many active maintainers and from how many companies, how often releases ship and how quickly security issues are fixed, whether the project has neutral governance such as a foundation, and how compatible it stays with the original's protocol and APIs. A fork backed by several large companies under a foundation, releasing regularly, is a different risk from one maintained by a handful of volunteers.

The original deserves the same scrutiny. A vendor that changed its licence still usually invests heavily in the product, and the newest features may appear only there. Compatibility also drifts over time: the further the fork and the original diverge, the harder a later switch in either direction becomes, so we check which features each side has added since the split and whether we depend on any of them.

4Managed Compatible Services, and What They Trade

A managed service, where the cloud provider runs the cluster, takes away patching, backups, scaling and failover, which is real work: a self-managed cluster can easily take a meaningful part of an engineer's time. It also moves the licence question to the provider. The cost is dependency. We take on the provider's pricing, its supported versions and upgrade schedule, its limits, and sometimes subtle differences from the original, since a compatible service may implement only part of the API. Moving away later is a migration in its own right.

A rough comparison helps. If a self-managed cluster costs us 30,000 a year in machines plus a quarter of an engineer, and the managed equivalent costs 55,000, the managed option is often cheaper in total, but only if the features we use are supported and the dependency is acceptable.

Options compared
OptionLicence riskOperationsLock-in
Stay on original, self-hosteddepends on our useourslow
Move to fork, self-hostedlow (permissive)ourslow, if compatible
Managed service of originalcarried by vendorprovidervendor
Managed compatible servicecarried by providerproviderprovider, API gaps

5Keeping Options Open

Whatever we choose today, the cheapest protection is to stay within the feature set that all the compatible implementations share. In practice that means using standard client libraries, such as the Spring Data modules or plain protocol clients rather than vendor-only SDKs, avoiding features that exist only in one product's newest release unless they bring clear value, and keeping configuration and data formats portable. We also make sure every store can be rebuilt or exported: search indexes from their source of truth, caches from their databases, and durable data through standard dump formats. Then a later move is a project, not a rescue.

6Running a Staged Move

If we decide to switch, we do it gradually. We start with a compatibility test suite that runs our real queries and commands against both the current and the target system and compares results; this catches differences in scoring, command behaviour or error messages before production does. Then we move the least critical workload first, for example a cache in a test environment, run both systems in parallel where possible, mirror or dual-write traffic for search indexes, and keep a rollback path for each step. We measure latency and error rates before and after, and only then move the critical workloads. A move of a few clusters typically takes a quarter or two, mostly spent on testing rather than on the switch itself.

7Follow-up questions

Is moving to the fork always the safest choice legally?

It removes the restriction of the new licence, but the fork has its own licence and governance, and its long-term health is a risk of its own. Safe means low total risk, which includes maintenance and compatibility, not only the licence text.

What if a vendor changes its licence back?

It has happened, with AGPL options added again. That is a good reason not to rush: decisions made for actual use, fork health and operational cost survive such changes, while a panic migration might turn out unnecessary.

Who should own this decision?

Engineering leadership with legal counsel and procurement. Engineers judge compatibility, health and operating cost, legal judges the licence, and finance compares the total cost. The decision and its reasons are recorded so it can be revisited when terms change.

8Conclusion

In this answer, we treated a licence change as a decision with legal, technical and financial parts. We started by describing our actual use and getting legal advice, because many internal uses are not affected. We compared the original and the fork by maintainers, release cadence, governance and compatibility, weighed managed compatible services that remove operations but add provider dependency, kept our usage within the common feature set to keep options open, and planned any switch as a staged move backed by compatibility tests.

What to say in the interviewAbout 90 seconds aloud

Open with

I would avoid reacting to the headline and go through it per data store. First, what does the change mean for our actual use? Most of these licences, like SSPL, mainly restrict offering the product itself as a service, so internal self-hosted use may not be affected, but I would describe exactly how we use, modify or distribute it and get legal advice, because that is a legal call.

Then, if they want more

I would also note that staying on the last permissive version is not a long-term option once security fixes stop.

Second, I compare the original with the fork on evidence: number of active maintainers and companies behind them, release cadence, how fast security fixes ship, governance, for example a foundation like Valkey under the Linux Foundation, and how far compatibility has drifted. Third, I weigh managed compatible services.

They remove patching, backups and failover and move the licence question to the provider, but they add dependency on the provider's pricing, versions and API gaps, so I would put rough numbers on total cost.

Whatever we choose, I keep our usage within the widely compatible feature set, standard clients, portable data, and a rebuild path for every index or cache, so options stay open.

And if we switch, it is a staged move: a compatibility test suite running our real queries against both, least critical workloads first, parallel running, and a rollback at each step.

About this answer

Last updated
12 November 2026
Checked
Its structure and format are checked automatically. Use it as a carefully prepared study note: where a detail matters, confirm it against the documentation below. What the checks cover
Where the question comes from
Written by Scrivio for practice. It is not taken from an interview.
Official documentation
Spring Data reference
Report an issue with this answer

Copy the line below and send it to the author with what you found. It carries the address of this page.

Issue with "Several open-source data stores your company relies on have changed licences in recent...": https://scrivio-interview-library.netlify.app/databases/spring-data-nosql/3081d69a26/