hydrogen666
hydrogen666
ES 6.2.4 不保证全部功能OK,我只测试了trace, watch, monitor这几个命令,后面应该还需要加其他permission 有两个Permission比较难找,其他的话基本可以在应用本身的stderr或者`${user.home}/logs/arthas/arthas.log`里面找到 1. java.lang.reflect.ReflectPermission 当前版本的arthas(3.1.1)在启动`ArthasBootstrap`时,会绑定配置的telnet和http端口(默认3658和8563),这两个配置是由`AgentBootstrap#bind`获取到javaagent参数args转换成`Configure`对象来获取的。但是由于没有配置权限`ReflectPermission`,在调用`Configure#toConfigure`方法时有通过反射去设置`Configure`对象中对应的field,设置会失败,异常会被抓住,导致返回的`Configure`对象为空。详见PR #818 1. ognl.OgnlInvokePermission 这个权限是在使用watch命令观察参数时发现的,具体错误会在`${user.home}/logs/arthas/arthas.log`里面 ```text Caused by: java.lang.IllegalAccessException: Method [public java.lang.Object[] com.taobao.arthas.core.advisor.Advice.getParams()] cannot be accessed. at ognl.OgnlRuntime.invokeMethod(OgnlRuntime.java:895) ~[arthas-core.jar:3.1.1] at ognl.OgnlRuntime.getMethodValue(OgnlRuntime.java:1709) ~[arthas-core.jar:3.1.1]...
How you guys handle duplicate file name afer replica shard promition? For example, we have a index with 1 shard 2 replica configuration, it has two replicas A and A',...
Hi @mch2 Yes, A' can recognize its _4.si is not same as the newly generated _4.si by new primary. But how to handle if someone's `IndexSearcher` on A' is still...
With segrep, CPU and IO consumption on Primary is much higher than Replica. Do we need to provide a new balancing algorithm for master node to take Primary shard balancing...
Any progress of this PR? @uschindler