Uploaded image for project: 'Apache Gearpump'
  1. Apache Gearpump
  2. GEARPUMP-278

Default value skipped for START_CLOCK on ClockService

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.8.2
    • 0.8.3
    • None
    • None

    Description

      The cause is when we get START_CLOCK from AppDataStore, it is converted to TimeStamp or Long. If we haven't stored a previous value, then null is expected. That's why we do Option(clock).getOrElse(0L). In fact, 0 is returned when null is converted to Long, which makes the default value useless.

      Attachments

        Issue Links

          Activity

            People

              mauzhang Manu Zhang
              mauzhang Manu Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: