kunal642 commented on a change in pull request #3375: [CARBONDATA-3512]Index Server Enhancement
URL:
https://github.com/apache/carbondata/pull/3375#discussion_r328449227
##########
File path: integration/spark2/src/main/scala/org/apache/carbondata/indexserver/IndexServer.scala
##########
@@ -83,7 +87,7 @@ object IndexServer extends ServerInterface {
private val isExecutorLRUConfigured: Boolean =
CarbonProperties.getInstance
.getProperty(CarbonCommonConstants.CARBON_MAX_EXECUTOR_LRU_CACHE_SIZE) != null
-
+ private val operationContext: OperationContext = new OperationContext
Review comment:
This operation context would be common for all the calls to index server. I think its safe to make this as a local variable wherever needed
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[hidden email]
With regards,
Apache Git Services