gokceni commented on a change in pull request #611: PHOENIX-5535 Replay delete 
markers during server side global index re…
URL: https://github.com/apache/phoenix/pull/611#discussion_r340245592
 
 

 ##########
 File path: 
phoenix-core/src/main/java/org/apache/phoenix/coprocessor/UngroupedAggregateRegionObserver.java
 ##########
 @@ -1121,10 +1124,15 @@ private static PTable deserializeTable(byte[] b) {
                 useProto = false;
                 indexMetaData = scan.getAttribute(PhoenixIndexCodec.INDEX_MD);
             }
+            if (!scan.isRaw()) {
+                List<IndexMaintainer> maintainers = 
IndexMaintainer.deserialize(indexMetaData, true);
+                indexMaintainer = maintainers.get(0);
 
 Review comment:
   Is there a possibility that  maintainers is an empty list?

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to