ES 7.2.1 and 7.3 support

Hi,

ES 7.2.1 got released as a bugfix release from 7.2.0 which has some issues with range queries. ( https://github.com/elastic/elasticsearch/issues/43277 )
Do you know when a new release of RoR can be expected to support it?

Also ES 7.3 has been released recently.

Thanks!

Hello @electrical, yes we are preparing both now.

Thank you very much @sscarduzio ! looking forward to use it.

Cheers.

readonlyrest-1.18.5-pre6_es7.3.0.zip

readonlyrest-1.18.5-pre6_es7.2.1.zip

Hi Simone,

Works like a charm for ES 7.3.0

Thank you so much!

1 Like

Stable releases will be out soon! :slight_smile:

Hitting a small snag after upgrading 1 node of our cluster:

15:45:17 elasticsearch.1 | [2019-08-15T15:45:17,102][WARN ][r.suppressed             ] [759922b4e5a2] path: /_cat/health, params: {}
15:45:17 elasticsearch.1 | tech.beshu.ror.SecurityPermissionException: Cannot create request context object
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.IndexLevelActionFilter.$anonfun$requestContextFrom$1(IndexLevelActionFilter.scala:188) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.util.Failure.fold(Try.scala:240) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.IndexLevelActionFilter.requestContextFrom(IndexLevelActionFilter.scala:189) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.IndexLevelActionFilter.handleRequest(IndexLevelActionFilter.scala:96) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.IndexLevelActionFilter.$anonfun$apply$1(IndexLevelActionFilter.scala:81) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.utils.AccessControllerHelper$$anon$1.run(AccessControllerHelper.scala:25) ~[?:?]
15:45:17 elasticsearch.1 | 	at java.security.AccessController.doPrivileged(AccessController.java:310) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.utils.AccessControllerHelper$.doPrivileged(AccessControllerHelper.scala:24) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.IndexLevelActionFilter.apply(IndexLevelActionFilter.scala:77) ~[?:?]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.action.support.TransportAction$RequestFilterChain.proceed(TransportAction.java:143) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:121) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.action.support.TransportAction.execute(TransportAction.java:64) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.client.node.NodeClient.executeLocally(NodeClient.java:83) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.client.node.NodeClient.doExecute(NodeClient.java:72) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.client.support.AbstractClient.execute(AbstractClient.java:392) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.client.support.AbstractClient$ClusterAdmin.execute(AbstractClient.java:681) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.client.support.AbstractClient$ClusterAdmin.health(AbstractClient.java:696) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.rest.action.cat.RestHealthAction.lambda$doCatRequest$0(RestHealthAction.java:56) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.rest.BaseRestHandler.handleRequest(BaseRestHandler.java:113) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.ReadonlyRestPlugin.$anonfun$getRestHandlerWrapper$2(ReadonlyRestPlugin.scala:181) [readonlyrest-1.18.5-pre6_es7.3.0.jar:?]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:240) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.rest.RestController.tryAllHandlers(RestController.java:344) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.rest.RestController.dispatchRequest(RestController.java:174) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.http.AbstractHttpServerTransport.dispatchRequest(AbstractHttpServerTransport.java:320) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.http.AbstractHttpServerTransport.handleIncomingRequest(AbstractHttpServerTransport.java:370) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.http.AbstractHttpServerTransport.incomingRequest(AbstractHttpServerTransport.java:299) [elasticsearch-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:66) [transport-netty4-client-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.http.netty4.Netty4HttpRequestHandler.channelRead0(Netty4HttpRequestHandler.java:31) [transport-netty4-client-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at io.netty.channel.SimpleChannelInboundHandler.channelRead(SimpleChannelInboundHandler.java:105) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at org.elasticsearch.http.netty4.Netty4HttpPipeliningHandler.channelRead(Netty4HttpPipeliningHandler.java:58) [transport-netty4-client-7.3.0.jar:7.3.0]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.MessageToMessageCodec.channelRead(MessageToMessageCodec.java:111) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.MessageToMessageDecoder.channelRead(MessageToMessageDecoder.java:102) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.ByteToMessageDecoder.fireChannelRead(ByteToMessageDecoder.java:323) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:297) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.timeout.IdleStateHandler.channelRead(IdleStateHandler.java:287) [netty-handler-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.ssl.SslHandler.unwrap(SslHandler.java:1478) [netty-handler-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.ssl.SslHandler.decodeJdkCompatible(SslHandler.java:1227) [netty-handler-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.ssl.SslHandler.decode(SslHandler.java:1274) [netty-handler-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.ByteToMessageDecoder.decodeRemovalReentryProtection(ByteToMessageDecoder.java:502) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.ByteToMessageDecoder.callDecode(ByteToMessageDecoder.java:441) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.handler.codec.ByteToMessageDecoder.channelRead(ByteToMessageDecoder.java:278) [netty-codec-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.fireChannelRead(AbstractChannelHandlerContext.java:352) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.DefaultChannelPipeline$HeadContext.channelRead(DefaultChannelPipeline.java:1408) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:374) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.AbstractChannelHandlerContext.invokeChannelRead(AbstractChannelHandlerContext.java:360) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.DefaultChannelPipeline.fireChannelRead(DefaultChannelPipeline.java:930) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.nio.AbstractNioByteChannel$NioByteUnsafe.read(AbstractNioByteChannel.java:163) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.nio.NioEventLoop.processSelectedKey(NioEventLoop.java:682) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.nio.NioEventLoop.processSelectedKeysPlain(NioEventLoop.java:582) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.nio.NioEventLoop.processSelectedKeys(NioEventLoop.java:536) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.channel.nio.NioEventLoop.run(NioEventLoop.java:496) [netty-transport-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.util.concurrent.SingleThreadEventExecutor$5.run(SingleThreadEventExecutor.java:906) [netty-common-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at io.netty.util.internal.ThreadExecutorMap$2.run(ThreadExecutorMap.java:74) [netty-common-4.1.36.Final.jar:4.1.36.Final]
15:45:17 elasticsearch.1 | 	at java.lang.Thread.run(Thread.java:835) [?:?]
15:45:17 elasticsearch.1 | Caused by: java.lang.NullPointerException
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.ArrayOps$ofRef$.length$extension(ArrayOps.scala:204) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.ArrayOps$ofRef.length(ArrayOps.scala:204) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.SeqLike.size(SeqLike.scala:108) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.SeqLike.size$(SeqLike.scala:108) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.ArrayOps$ofRef.size(ArrayOps.scala:198) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.IndexedSeqLike.sizeHintIfCheap(IndexedSeqLike.scala:99) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.IndexedSeqLike.sizeHintIfCheap$(IndexedSeqLike.scala:99) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.ArrayOps$ofRef.sizeHintIfCheap(ArrayOps.scala:198) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.Builder.sizeHint(Builder.scala:80) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.Builder.sizeHint$(Builder.scala:79) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.SetBuilder.sizeHint(SetBuilder.scala:24) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.TraversableLike.to(TraversableLike.scala:592) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.TraversableLike.to$(TraversableLike.scala:590) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.ArrayOps$ofRef.to(ArrayOps.scala:198) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.TraversableOnce.toSet(TraversableOnce.scala:307) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.TraversableOnce.toSet$(TraversableOnce.scala:307) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.collection.mutable.ArrayOps$ofRef.toSet(ArrayOps.scala:198) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.RequestInfo.extractIndices$lzycompute(RequestInfo.scala:139) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.RequestInfo.extractIndices(RequestInfo.scala:92) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.acl.request.EsRequestContext.<init>(EsRequestContext.scala:91) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.acl.request.EsRequestContext$.$anonfun$from$1(EsRequestContext.scala:132) ~[?:?]
15:45:17 elasticsearch.1 | 	at scala.util.Try$.apply(Try.scala:213) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.acl.request.EsRequestContext$.from(EsRequestContext.scala:132) ~[?:?]
15:45:17 elasticsearch.1 | 	at tech.beshu.ror.es.IndexLevelActionFilter.requestContextFrom(IndexLevelActionFilter.scala:186) ~[?:?]
15:45:17 elasticsearch.1 | 	... 76 more

Is this expected behaviour after upgrading a single node?

@coutoPL can you have a look?

@sscarduzio I’m on it

1 Like

here are new pre versions with fixes:

readonlyrest 1.18.5-pre9 es 7.3.0

readonlyrest 1.18.5-pre9 es 7.2.1

2 Likes

Thank you @coutoPL I’ll give this one a try today

@coutoPL @sscarduzio pre9 release works fine. no more errors. Thank you!

1 Like