Let's say I'm looking at installation documentation. From that page, when I change the CDAP version to look at installation document for another version, I get re-directed to home page of the new version. It would be a better user experience if we stay on the same page of the new version.
In some cases, the release being switched to might not have the same page. In such a case it would be acceptable to go one level up in navigation.