ctubbsii commented on issue #3943:
URL: https://github.com/apache/accumulo/issues/3943#issuecomment-1828582140

   The column qualifier used to not be redundant. The value used to be **very** 
different, and the column qualifier used to contain `server + / + filename`, 
and server and filename used to be able to be separated by doing:
   
   ```java
       String[] parts = key.getColumnQualifier().toString().split("/", 2);
       result.server = parts[0];
       result.filename = parts[1];
   ```
   
   That implies that the `server` portion did not contain any slashes itself. 
So, now that the server is just replaced with `-` in the column qualifier, I 
think we can safely continue to parse the filename from it by ignoring 
everything up to, and including, the first slash. That should work, even if 
there happens to be an older entry that still had a server in there for some 
reason. Then, we can just start using an empty value for new entries, and 
parsing from the column qualifier instead.


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