Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-771

Stellar INDEXING_SET_BATCH incorrectly defaults batchSize to 5

    XMLWordPrintableJSON

Details

    • Hide
      In 0.3.1 and prior, the implementation of Stellar function INDEXING_SET_BATCH incorrectly defaulted batch size to 5. By documentation and intent, default batch size if not specified by the user should be 1, that is disabled. In this release, INDEXING_SET_BATCH has been corrected to set default batch size to 1 if unspecified.
      Show
      In 0.3.1 and prior, the implementation of Stellar function INDEXING_SET_BATCH incorrectly defaulted batch size to 5. By documentation and intent, default batch size if not specified by the user should be 1, that is disabled. In this release, INDEXING_SET_BATCH has been corrected to set default batch size to 1 if unspecified.

    Description

      The implementation of IndexingConfigFunctions::SetBatchSize() defaults batchSize to 5 for Indexing configurations. Everywhere else in code and documentation, batchSize is implemented and documented to default to 1.

      Fix by changing SetBatchSize() to also default it to 1.

      Marking this "backward incompatible" because it might require a change in the way users currently use INDEXING_SET_BATCH.

      Attachments

        Issue Links

          Activity

            People

              mattf Matthew Foley
              mattf Matthew Foley
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: