Skip to content

Commit

Permalink
TEIID-5525 adding details about the system property to the message
Browse files Browse the repository at this point in the history
# Conflicts:
#	engine/src/main/java/org/teiid/query/QueryPlugin.java
  • Loading branch information
shawkins committed Nov 2, 2018
1 parent 0043946 commit b6a6c1b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
Expand Up @@ -302,7 +302,7 @@ private void updateEstimates(long sizeEstimate, boolean remove) throws TeiidComp
throw new TeiidComponentException(QueryPlugin.Event.TEIID31261, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31261, maxBatchManagerSizeEstimate, id));
}
if (!sizeWarning) {
LogManager.logWarning(LogConstants.CTX_BUFFER_MGR, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31261, maxBatchManagerSizeEstimate, id));
LogManager.logWarning(LogConstants.CTX_BUFFER_MGR, QueryPlugin.Util.gs(QueryPlugin.Event.TEIID31292, maxBatchManagerSizeEstimate, id));
sizeWarning = true;
}
}
Expand Down
1 change: 1 addition & 0 deletions engine/src/main/java/org/teiid/query/QueryPlugin.java
Expand Up @@ -647,5 +647,6 @@ public static enum Event implements BundleUtil.Event{
TEIID31280,
TEIID31281,
TEIID31289,
TEIID31292
}
}
4 changes: 3 additions & 1 deletion engine/src/main/resources/org/teiid/query/i18n.properties
Expand Up @@ -1592,7 +1592,9 @@ TEIID31258=Only {0} DDL statements are allowed.
TEIID31259=In the statement ending with token {0} on line {1} column {2} the ddl is not valid: {3}

TEIID31560=Max size of temporary lob exceeded: {0}
TEIID31261=Max estimated size {0} for a single operation/table id {1} has been exceeded. The server may need to increase the amount of disk or memory available, or decrease the number of max active plans.
TEIID31261=Max estimated size {0} for a single operation/table id {1} has been exceeded. The server may need to increase the amount of disk or memory available, or decrease the number of max active plans. The system property org.teiid.enforceSingleMaxBufferSizeEstimate may be set to false to turn this into a warning.
TEIID31292=Max estimated size {0} for a single operation/table id {1} has been exceeded. The server may need to increase the amount of disk or memory available, or decrease the number of max active plans. The system property org.teiid.enforceSingleMaxBufferSizeEstimate may be set to true to turn this into an error.

TEIID31262=Max estimated size {0} for a single session {1} has been exceeded by operation/table id {2}. The server may need to increase the amount of disk or memory available, or decrease the number of max active plans.
TEIID31263=Error loading functions from {0}: {1}

Expand Down

0 comments on commit b6a6c1b

Please sign in to comment.