Uploaded image for project: 'Infinispan'
  1. Infinispan
  2. ISPN-9626

RocksDB documentation is not compiling because of properties are configured wrong

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor Minor
    • 9.4.1.Final
    • None
    • None
    • None

      Properties props = new Properties();
      props.addProperty("database.max_background_compactions", "2");
      props.addProperty("data.write_buffer_size", "512MB");
      

      should be

      Properties props = new Properties();
      props.put("database.max_background_compactions", "2");
      props.put("data.write_buffer_size", "512MB");
      

      <property name="database.max_background_compactions" value="2"/>
      <property name="data.write_buffer_size" value="512MB"/>
      

      should be

      <property name="database.max_background_compactions">2</property>
      <property name="data.write_buffer_size">512MB</property>
      

            dlovison@redhat.com Diego Lovison
            dlovison@redhat.com Diego Lovison
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: