Uploaded image for project: 'JBeret'
  1. JBeret
  2. JBERET-196

Avoid the redundat deserialization of certain StepExecution fields before saving to persistent job repository

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 1.3.0.Alpha1
    • 1.2.0.Final
    • jberet-core
    • None

    Description

      In JdbcRepository (MongoRepository maybe too), before saving StepExecution fields such as reader checkpoint info, writer checkpoint info, exception and user persistent data, they are deserialized from bytes to object, and then serialized to bytes to be stored (e.g, as BLOB in db).

      We should be able to avoid this extra round of deserialization and serialization, by adding methods to StepExecutionImpl to return their serialized form.

      Attachments

        Issue Links

          Activity

            People

              cfang@redhat.com Cheng Fang
              cfang@redhat.com Cheng Fang
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: