mynameborat commented on a change in pull request #912: SEP-19 : Refactoring 
sideInputs from SamzaContainer to ContainerStorageManager
URL: https://github.com/apache/samza/pull/912#discussion_r259942267
 
 

 ##########
 File path: 
samza-core/src/main/java/org/apache/samza/storage/StorageManagerUtil.java
 ##########
 @@ -207,9 +208,11 @@ public static boolean storeExists(File storeDir) {
    * @param storeBaseDir the base directory to use
    * @param storeName the store name to use
    * @param taskName the task name which is referencing the store
+   * @param taskMode
    * @return the partition directory for the store
    */
-  public static File getStorePartitionDir(File storeBaseDir, String storeName, 
TaskName taskName) {
+  public static File getStorePartitionDir(File storeBaseDir, String storeName, 
TaskName taskName, TaskMode taskMode) {
+    // TODO: use task-Mode to decide the storePartitionDir -- standby's dir 
should be the same as active
 
 Review comment:
   Are we doing this in a separate PR? 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to