Skip to main content
You're viewing the preview version of this page. For the full experience, please return to the .

Apache Doris Version Rules and Version Selection

This document describes the semantics of Apache Doris version numbers, the upgrade and downgrade compatibility policy, and how to select the appropriate binary based on CPU architecture.

Version Number Rules

Apache Doris uses a three-part version number X.Y.Z. The meaning, typical changes, and release cadence for each part are as follows:

PositionNameMeaningRelease Cadence
XMajorMajor feature release or architectural upgradeYearly
YMinorImportant features, performance optimizations, or necessary metadata/data format changesQuarterly
ZPatchBug fixes, performance optimizations, and small feature updatesTypically every 2-4 weeks

Version Upgrade and Downgrade

Upgrade TypeForward Compatibility (old → new)Backward Compatibility (new → old)Recommendation
Major (X)CompatibleNot guaranteedBack up data before upgrading
Minor (Y)CompatibleNot guaranteedBack up data before upgrading
Patch (Z)CompatibleCompatibleUpgrade and downgrade directly, with no data compatibility concerns

Major (X) and minor (Y) version upgrades may involve metadata or data format changes. Apache Doris guarantees that these changes are forward compatible (that is, you can upgrade from an older version to a newer version), but does not guarantee backward compatibility (that is, downgrading from a newer version to an older version is not guaranteed). Patch (Z) versions support both upgrade and downgrade.

How to Select a Version

The Apache Doris team mainly maintains the two latest version branches, labeled as Latest and Stable:

LabelContentsApplicable Scenarios
LatestLatest features, optimizations, and bug fixesTrying new features, POC validation, performance testing, pre-production
StableContinuous bug fixes, higher stabilityProduction environment

CPU Models and Binary Versions

Apache Doris provides three binaries for different CPU architectures and instruction sets:

Binary NameApplicable CPUDescription
x64(avx2)x86_64 CPUs that support the AVX2 instruction setDefault recommendation, best performance
x64(no avx2)x86_64 CPUs that do not support the AVX2 instruction setFor older x86_64 processors
ARM64ARM-based CPUsFor ARM servers (such as Kunpeng, Graviton)
Tip

Run the following command to check whether the CPU supports the AVX2 instruction set:

cat /proc/cpuinfo | grep avx2

If there is output, the CPU supports AVX2, and you can choose the x64(avx2) binary.

FAQ

Q: Can I downgrade directly from 2.0.x back to 1.2.x?

No. Downgrades across major or minor versions do not guarantee metadata and data format compatibility. Perform a full backup before any major or minor version upgrade.

Q: Can patch versions be upgraded by skipping versions (for example, from 2.0.1 directly to 2.0.5)?

Yes. Patch versions maintain forward and backward compatibility, so you can skip versions when upgrading or downgrading.

Q: How do I decide whether to choose Latest or Stable?

For production environments, choose Stable first. For evaluation and trying new features, choose Latest.