Without pre-creating index, heavy write rates OOM with too many threads, closes #1081.

This commit is contained in:
kimchy 2011-06-30 21:22:21 +03:00
parent 4c913693a9
commit a8969cd672
18 changed files with 18 additions and 18 deletions

View File

@ -52,7 +52,7 @@ public class TransportIndicesAliasesAction extends TransportMasterNodeOperationA
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -58,7 +58,7 @@ public class TransportAnalyzeAction extends TransportSingleCustomOperationAction
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.INDEX;
}
@Override protected AnalyzeRequest newRequest() {

View File

@ -57,7 +57,7 @@ public class TransportClearIndicesCacheAction extends TransportBroadcastOperatio
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -51,7 +51,7 @@ public class TransportCloseIndexAction extends TransportMasterNodeOperationActio
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -51,7 +51,7 @@ public class TransportCreateIndexAction extends TransportMasterNodeOperationActi
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -60,7 +60,7 @@ public class TransportDeleteIndexAction extends TransportMasterNodeOperationActi
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -45,7 +45,7 @@ public class TransportIndicesExistsAction extends TransportMasterNodeOperationAc
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -57,7 +57,7 @@ public class TransportFlushAction extends TransportBroadcastOperationAction<Flus
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -54,7 +54,7 @@ public class TransportGatewaySnapshotAction extends TransportBroadcastOperationA
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -66,7 +66,7 @@ public class TransportDeleteMappingAction extends TransportMasterNodeOperationAc
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -52,7 +52,7 @@ public class TransportPutMappingAction extends TransportMasterNodeOperationActio
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -51,7 +51,7 @@ public class TransportOpenIndexAction extends TransportMasterNodeOperationAction
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -60,7 +60,7 @@ public class TransportOptimizeAction extends TransportBroadcastOperationAction<O
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MERGE;
}
@Override protected String transportAction() {

View File

@ -58,7 +58,7 @@ public class TransportRefreshAction extends TransportBroadcastOperationAction<Re
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -61,7 +61,7 @@ public class TransportIndicesSegmentsAction extends TransportBroadcastOperationA
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -47,7 +47,7 @@ public class TransportUpdateSettingsAction extends TransportMasterNodeOperationA
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -51,7 +51,7 @@ public class TransportDeleteIndexTemplateAction extends TransportMasterNodeOpera
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {

View File

@ -51,7 +51,7 @@ public class TransportPutIndexTemplateAction extends TransportMasterNodeOperatio
}
@Override protected String executor() {
return ThreadPool.Names.CACHED;
return ThreadPool.Names.MANAGEMENT;
}
@Override protected String transportAction() {