aglinxinyuan commented on code in PR #9297:
URL: https://github.com/apache/texera/pull/9297#discussion_r4475373806


##########
common/config/src/main/scala/org/apache/texera/common/config/EnvironmentalVariable.scala:
##########
@@ -116,81 +116,18 @@ object EnvironmentalVariable {
   /**
     * Variables in application.conf
     */
-  // Constants
-  val ENV_CONSTANTS_LOGGING_QUEUE_SIZE_INTERVAL = 
"CONSTANTS_LOGGING_QUEUE_SIZE_INTERVAL"
-  val ENV_CONSTANTS_NUM_WORKER_PER_OPERATOR = 
"CONSTANTS_NUM_WORKER_PER_OPERATOR"
-  val ENV_CONSTANTS_MAX_RESOLUTION_ROWS = "CONSTANTS_MAX_RESOLUTION_ROWS"
-  val ENV_CONSTANTS_MAX_RESOLUTION_COLUMNS = "CONSTANTS_MAX_RESOLUTION_COLUMNS"
-  val ENV_CONSTANTS_STATUS_UPDATE_INTERVAL = "CONSTANTS_STATUS_UPDATE_INTERVAL"
-
-  // Flow Control
-  val ENV_FLOW_CONTROL_MAX_CREDIT_ALLOWED_IN_BYTES_PER_CHANNEL =
-    "FLOW_CONTROL_MAX_CREDIT_ALLOWED_IN_BYTES_PER_CHANNEL"
-  val ENV_FLOW_CONTROL_CREDIT_POLL_INTERVAL_IN_MS = 
"FLOW_CONTROL_CREDIT_POLL_INTERVAL_IN_MS"
-
-  // Network Buffering
-  val ENV_NETWORK_BUFFERING_DEFAULT_DATA_TRANSFER_BATCH_SIZE =
-    "NETWORK_BUFFERING_DEFAULT_DATA_TRANSFER_BATCH_SIZE"
-  val ENV_NETWORK_BUFFERING_ENABLE_ADAPTIVE_BUFFERING =
-    "NETWORK_BUFFERING_ENABLE_ADAPTIVE_BUFFERING"
-  val ENV_NETWORK_BUFFERING_ADAPTIVE_BUFFERING_TIMEOUT_MS =
-    "NETWORK_BUFFERING_ADAPTIVE_BUFFERING_TIMEOUT_MS"
-
-  // Reconfiguration
-  val ENV_RECONFIGURATION_ENABLE_TRANSACTIONAL_RECONFIGURATION =
-    "RECONFIGURATION_ENABLE_TRANSACTIONAL_RECONFIGURATION"
 
   // Cache
   val ENV_CACHE_ENABLED = "CACHE_ENABLED"

Review Comment:
   Removed them here in 055befb508. I dropped the eight `ENV_ICEBERG_TABLE_*` 
names and the five extra LakeFS names from `EnvironmentalVariable`, and the 
whole Iceberg Table and LakeFS blocks from `StorageConfig`, because nothing 
reads those copies either (`ENV_LAKEFS_ENDPOINT` stays in 
`EnvironmentalVariable` for `ComputingUnitManagingResource`).



##########
common/config/src/main/scala/org/apache/texera/common/config/EnvironmentalVariable.scala:
##########
@@ -116,81 +116,18 @@ object EnvironmentalVariable {
   /**
     * Variables in application.conf

Review Comment:
   Reworded in 055befb508. The header now says the object holds the names Scala 
code refers to directly, and that a new config option needs a constant only 
when code uses the variable itself, since the `.conf` files read variables 
through `${?NAME}`. I also dropped the stale TODO about the two copies and 
narrowed the application.conf section comment the same way.



-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to