Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-9579

Adding a pagination parameter to LogCleanupCommand

    XMLWordPrintable

Details

    Description

      When there are a huge number of rows to clean and an error happens during this process, as the LogCleanupCommand run into a transaction, then a rollback is run.

      In order to solve this, we are going to add the number of rows to delete as a parameter in the LogCleanupCommand. Then depending on the rest of parameters, all the rows will be removed in packages of rows given by that parameter where each action will be done in a different commit. So the rollback action will be avoid for all the removing request.

       

      Attachments

        Issue Links

          Activity

            People

              ftirados Francisco Javier Tirado Sarti
              ftirados Francisco Javier Tirado Sarti
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: