Can i do direct upgrade from opensearch 2.10 to opensearch 3.0

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
opensearch 2.10 → opensearch 3.0.0 (Docker)

Describe the issue:
Unable to upgrade 2.10 to 3.0 directly

Configuration:
Single node with adfs saml as login

Relevant Logs or Screenshots:

[2025-05-23T07:21:29,789][WARN ][o.o.b.JNANatives         ] [REDACTED] Unable to lock JVM Memory: error=12, reason=Cannot allocate memory
[2025-05-23T07:21:29,799][WARN ][o.o.b.JNANatives         ] [REDACTED] This can result in part of the JVM being swapped out.
[2025-05-23T07:21:29,799][WARN ][o.o.b.JNANatives         ] [REDACTED] Increase RLIMIT_MEMLOCK, soft limit: 65536, hard limit: 65536
[2025-05-23T07:21:29,799][WARN ][o.o.b.JNANatives         ] [REDACTED] These can be adjusted by modifying /etc/security/limits.conf, for example: 
[2025-05-23T07:21:29,800][WARN ][stderr                   ] [REDACTED] May 23, 2025 7:21:30 AM org.opensearch.javaagent.bootstrap.AgentPolicy setPolicy
[2025-05-23T07:21:30,254][WARN ][stderr                   ] [REDACTED] INFO: Policy attached successfully: org.opensearch.bootstrap.OpenSearchPolicy@4b3fe06e
[2025-05-23T07:21:30,633][WARN ][stderr                   ] [REDACTED] May 23, 2025 7:21:30 AM org.apache.lucene.internal.vectorization.PanamaVectorizationProvider <init>
[2025-05-23T07:21:30,633][WARN ][stderr                   ] [REDACTED] INFO: Java vector incubator API enabled; uses preferredBitSize=256; FMA enabled
[2025-05-23T07:21:35,266][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] Directory /usr/share/opensearch/config has insecure file permissions (should be 0700)
[2025-05-23T07:21:35,267][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/opensearch.yml has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,267][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/opensearch-security/roles.yml has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/opensearch-security/config.yml has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/opensearch-security/roles_mapping.yml has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/opensearch-security/internal_users.yml has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/admin-key.pem has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/metadata.xml has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/node.pem has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,272][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] Directory /usr/share/opensearch/config/opensearch-performance-analyzer has insecure file permissions (should be 0700)
[2025-05-23T07:21:35,282][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/opensearch-performance-analyzer/performance-analyzer.properties has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,282][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/root-ca.pem has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,282][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/admin.pem has insecure file permissions (should be 0600)
[2025-05-23T07:21:35,282][WARN ][o.o.s.OpenSearchSecurityPlugin] [REDACTED] File /usr/share/opensearch/config/node-key.pem has insecure file permissions (should be 0600)
[2025-05-23T07:21:38,717][ERROR][o.o.p.c.c.StatsCollector ] [REDACTED] Error in loading metadata for folderLocation: /usr/share/opensearch/config/opensearch-performance-analyzer/, fileLocation: plugin-stats-metadata
[2025-05-23T07:21:38,717][ERROR][o.o.p.c.c.StatsCollector ] [REDACTED] java.io.FileNotFoundException: /usr/share/opensearch/config/opensearch-performance-analyzer/plugin-stats-metadata (No such file or directory)
[2025-05-23T07:21:39,796][WARN ][stderr                   ] [REDACTED] WARNING: A restricted method in java.lang.foreign.Linker has been called
[2025-05-23T07:21:39,797][WARN ][stderr                   ] [REDACTED] WARNING: java.lang.foreign.Linker::downcallHandle has been called by the unnamed module
[2025-05-23T07:21:39,798][WARN ][stderr                   ] [REDACTED] WARNING: Use --enable-native-access=ALL-UNNAMED to avoid a warning for this module
[2025-05-23T07:21:43,421][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [REDACTED] uncaught exception in thread [main]
[2025-05-23T07:21:43,421][ERROR][o.o.b.OpenSearchUncaughtExceptionHandler] [REDACTED] SettingsException[unknown setting [compatibility.override_main_response_version] please check that any required plugins are installed, or check the breaking changes documentation for removed settings]

@abhsk Your OpenSearch nodes fails to start due to unrecognised option compatibility.override_main_response_version