Github user JamesRTaylor commented on a diff in the pull request: https://github.com/apache/phoenix/pull/34#discussion_r23279803 --- Diff: phoenix-core/src/main/java/org/apache/phoenix/index/IndexMaintainer.java --- @@ -883,6 +903,14 @@ public void readFields(DataInput input) throws IOException { dataEmptyKeyValueCF = Bytes.readByteArray(input); emptyKeyValueCFPtr = new ImmutableBytesPtr(Bytes.readByteArray(input)); + int numIndexedExpressions = WritableUtils.readVInt(input); --- End diff -- The IndexMaintainer is sent from the client to the server - it's like a compiled index definition. You'll just need to make sure that when you deserialize the data, you can detect that it's from an old client and you can read it correctly to establish the correct state. Remember, you'll know in this case that there are no functional indexes.
--- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. ---