Uploaded image for project: 'Solr'
  1. Solr
  2. SOLR-3749

Default syncLevel cannot be configured by solrconfig.xml for updateLog(transaction log)

    XMLWordPrintableJSON

Details

    Description

      In solr 4.0 environment, transaction log had been defined in three level, none/flush/fsync. The updateLog hard code the default sync level is SyncLevel.FLUSH.
      If user want to use the other levels, have to rewrite the RunUpdateProcess, to set the level.
      At best, user can set it in the solrconfig.xml, that it is easy to control and use.

      BTW, transaction log is very important for solr cloud, at best, invoke the sync to make sure kernel memory submit into the disk to avoid some corner case that maybe damage transaction log.

      Attachments

        1. patch.txt
          1 kB
          Raintung Li
        2. configpatch
          0.5 kB
          Raintung Li

        Activity

          People

            markrmiller@gmail.com Mark Miller
            raintung.li Raintung Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 24h
                24h
                Remaining:
                Remaining Estimate - 24h
                24h
                Logged:
                Time Spent - Not Specified
                Not Specified