Version must be upgraded to [8.11.1] is still set to [8.10.1]

Hi

After changing to OpenSearch. We get the following WARNING.

Why can’t we use this version?

//mike

2022-11-16T16:41:01,629 WARN request [POST https://opensearch.sero.wh.rnd.internal.company.com/memory-2022-11/_doc?timeout=10s] returned 1 warnings: [299 OpenSearch-1.2.3-8a529d77c7432bc45b005ac1c4ba3b2741b57d4a “this request accesses system indices: [.opensearch_dashboards_1], but in a future major version, direct access to system indices will be prevented by default”]
java.lang.AssertionError: Version must be upgraded to [8.11.1] is still set to [8.10.1]
at org.opensearch.LegacyESVersion.(LegacyESVersion.java:194)
at org.opensearch.Version.fromId(Version.java:88)
at org.opensearch.OpenSearchException.(OpenSearchException.java:79)
at org.opensearch.rest.BytesRestResponse.errorFromXContent(BytesRestResponse.java:194)
at org.opensearch.client.RestHighLevelClient.parseEntity(RestHighLevelClient.java:2075)
at org.opensearch.client.RestHighLevelClient.parseResponseException(RestHighLevelClient.java:2052)
at org.opensearch.client.RestHighLevelClient.internalPerformRequest(RestHighLevelClient.java:1775)
at org.opensearch.client.RestHighLevelClient.performRequest(RestHighLevelClient.java:1728)
at org.opensearch.client.RestHighLevelClient.performRequestAndParseEntity(RestHighLevelClient.java:1696)
at org.opensearch.client.RestHighLevelClient.index(RestHighLevelClient.java:961)
at com.company.commonlibrary.statisticscollectorframework.services.opensearch.OpenSearchService.indexData(OpenSearchService.java:138)
at com.company.commonlibrary.statisticscollectorframework.services.opensearch.OpenSearchService.sendDataToOs(OpenSearchService.java:261)
at com.company.commonlibrary.statisticscollectorframework.services.opensearch.OpenSearchService.send(OpenSearchService.java:245)
at com.company.listeners.OpenSearchListener.storeAndSendMemoryData(OpenSearchListener.java:256)
at com.company.listeners.OpenSearchListener.storeAndSendOnExecutionFinish(OpenSearchListener.java:209)
at com.company.listeners.OpenSearchListener.onExecutionFinish(OpenSearchListener.java:144)
at com.company.ListenerHandler.onExecutionFinish(ListenerHandler.java:526)
at com.company.TestNgListener.onExecutionFinish(MsranTestNgListener.java:455)
at org.testng.TestNG.runExecutionListeners(TestNG.java:1118)
at org.testng.TestNG.run(TestNG.java:1075)
at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:115)
at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:251)
at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:77)