]> git.proxmox.com Git - ceph.git/blobdiff - ceph/src/rocksdb/java/src/main/java/org/rocksdb/TraceOptions.java
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / rocksdb / java / src / main / java / org / rocksdb / TraceOptions.java
index 657b263c6d1a65a12c903939e8b66857e2ae3539..cf5f7bbe12f8e6f8e3c0217b5335e7ebaca458cd 100644 (file)
@@ -13,7 +13,7 @@ public class TraceOptions {
   private final long maxTraceFileSize;
 
   public TraceOptions() {
-    this.maxTraceFileSize = 64 * 1024 * 1024 * 1024;  // 64 GB
+    this.maxTraceFileSize = 64L * 1024L * 1024L * 1024L; // 64 GB
   }
 
   public TraceOptions(final long maxTraceFileSize) {
@@ -21,8 +21,8 @@ public class TraceOptions {
   }
 
   /**
-   * To avoid the trace file size grows large than the storage space,
-   * user can set the max trace file size in Bytes. Default is 64GB
+   * To avoid the trace file size grows larger than the storage space,
+   * user can set the max trace file size in Bytes. Default is 64 GB.
    *
    * @return the max trace size
    */