stefan-egli commented on code in PR #1521:
URL: https://github.com/apache/jackrabbit-oak/pull/1521#discussion_r1636560400


##########
oak-store-document/src/main/java/org/apache/jackrabbit/oak/plugins/document/DocumentPropertyState.java:
##########
@@ -64,7 +65,9 @@ final class DocumentPropertyState implements PropertyState {
     private final byte[] compressedValue;
     private final Compression compression;
 
-    private static final int DEFAULT_COMPRESSION_THRESHOLD = 
Integer.getInteger("oak.mongo.compressionThreshold", -1);
+    private static final int DEFAULT_COMPRESSION_THRESHOLD = 
SystemPropertySupplier
+            
.create("org.apache.jackrabbit.oak.plugins.document.DocumentPropertyState.stringCompressionThreshold",
 -1)

Review Comment:
   It seems we were able to come up with different naming conventions for 
system properties in oak-store-document even:
   * MemoryNodeStore uses `memoryds.`
   * rdb uses `full.qualified.name`
   * org.apache.jackrabbit.oak.plugins.document in general uses 
`oak.documentMk.`
   
   Perhaps as this is in the main document package, should we use 
`oak.documentMk.stringCompressionThreshold` ?



-- 
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: dev-unsubscr...@jackrabbit.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to