Github user paul-rogers commented on a diff in the pull request:
https://github.com/apache/drill/pull/958#discussion_r140960874
--- Diff:
exec/memory/base/src/main/java/org/apache/drill/exec/memory/Accountant.java ---
@@ -80,6 +119,23 @@ public Accountant(Accountant parent, long reservation,
long maxAllocation) {
}
/**
+ * Request lenient allocations: allows exceeding the allocation limit
+ * by the configured grace amount. The request is granted only if strict
+ * limits are not required.
+ *
+ * @param enable
+ */
+ public boolean setLenient() {
--- End diff --
Added a comment to explain the purpose. Fixed Javadoc comments.
---