Skip to main content

Version Notes

What is a version number?

Apache Doris uses a three-part version number (X.Y.Z), where each digit represents a different release type:

Version PositionNameDescription
XMajor versionMajor feature releases or architectural upgrades, on a roughly 1-year cycle
YMinor versionImportant features and performance improvements, on a roughly quarterly cycle
ZPatch versionBug fixes and performance improvements, on a 2-4 week cycle

Example: Version 2.1.0 indicates major version 2, minor version 1, and patch version 0.


What you must know before upgrading

Compatibility differences across version positions

Version TypeMetadata / Data Format ChangesCompatibility Notes
Major version (X)May occurForward compatible, but backward compatibility is not guaranteed
Minor version (Y)No changesBoth forward and backward compatibility are guaranteed as long as no new features are used
Patch version (Z)No changesFully forward and backward compatible, free to upgrade or downgrade
Important

When upgrading a major version, downgrading to the older version is not guaranteed. Back up your data before upgrading.

Pre-upgrade checklist

  • Confirm whether the target version is a major, minor, or patch release
  • Back up important data and metadata
  • Verify the upgrade procedure in a test environment
  • Review the version compatibility notes (if any)

How to choose a version

Apache Doris maintains two latest version branches:

Version TypeUse CasesDescription
LatestPOC, performance testing, trying new featuresIncludes the latest features, may be unstable
StableProduction environmentsContinues to receive bug fixes, high stability

Selection guidance:

  • Production environments: choose Stable
  • Exploration and testing: choose Latest

CPU model and binary selection

Doris provides three binary versions corresponding to different CPU instruction sets:

VersionApplicable CPUDescription
x64 (avx2)x86_64 CPUs that support the avx2 instruction setBest performance
x64 (no avx2)x86_64 CPUs that do not support avx2Compatibility first
ARM64ARM-architecture CPUsApple M-series, Kunpeng, and others

How to determine whether your CPU supports avx2

cat /proc/cpuinfo | grep avx2

If the command produces output, the CPU supports the avx2 instruction set, and you can choose the x64 (avx2) build for better performance.


Upgrade rules across versions

The matrix below lists the considerations for upgrading between versions. The contents of this table will be updated continuously.

Version upgrade compatibility matrix

TODO

Current version → Target version3.0.x3.1.x4.0.x4.1.x
3.0.x-
3.1.x-
4.0.x-
4.1.x-
Notes
  • "-" indicates no upgrade is needed (current version)
  • Blank cells indicate that upgrade notes are still to be added
  • Always read the upgrade documentation for the target version before upgrading

Frequently asked questions

Q: Can I upgrade from 2.0 to 3.1?

Yes. However, a major version upgrade may involve data format changes. Before upgrading:

  1. Back up your data
  2. Verify in a test environment
  3. Prepare a rollback plan

Q: Can patch versions be upgraded at any time?

Yes. Patch versions (such as 2.1.0 to 2.1.1) are guaranteed to be both forward and backward compatible, so you can upgrade or downgrade at any time.

Q: How do I check the current Doris version?

Run SELECT VERSION(); to query the current version.

Q: Where can I download the Latest and Stable versions?

Visit the Apache Doris download page for download links to all versions.


  • [TODO] - Detailed cluster upgrade steps
  • [TODO] - How to back up data