pick https://github.com/apache/doris/pull/35239 add special logic to deal smooth upgrade The origin PR is https://github.com/apache/doris/pull/35239. for branch-3.0 it was merged in 3.0.0 but forgot to register old version. now in branch-3.0 we fix it in https://github.com/apache/doris/pull/45428 which must be merged in 3.0.4. and do same thing in this PR which must be merged in 2.1.8. then: ``` FROM TO result 217- 218+ ✅ 217- 303- 💥 218+ 303- ✅ 218+ 304+ ✅ 303- 304+ ✅ ``` this is our best result.