Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-22068

Return the last event id dumped as repl status to avoid notification event missing error.

    XMLWordPrintableJSON

Details

    Description

      In repl load, update the status of target database to the last event dumped so that repl status returns that and next incremental can specify it as the event from which to start the dump. WIthout that repl status might return and old event which might cause, older events to be dumped again and/or a notification event missing error if the older events are cleaned by the cleaner.

      While at it

      • Add more logging to DB notification listener cleaner thread
        • The time when it considered cleaning, the interval and time before which events were cleared, the min and max id at that time
        • how many events were cleared
        • min and max id after the cleaning.
      • In REPL::START document the starting event, end event if specified and the maximum number of events, if specified.
        *

      Attachments

        1. HIVE-22068.01.patch
          6 kB
          Ashutosh Bapat
        2. HIVE-22068.02.patch
          6 kB
          Ashutosh Bapat
        3. HIVE-22068.03.patch
          13 kB
          Ashutosh Bapat
        4. HIVE-22068.04.patch
          13 kB
          Ashutosh Bapat
        5. HIVE-22068.05.patch
          18 kB
          Ashutosh Bapat
        6. HIVE-22068.06.patch
          18 kB
          Ashutosh Bapat
        7. HIVE-22068.07.patch
          20 kB
          Ashutosh Bapat

        Issue Links

          Activity

            People

              ashutosh.bapat Ashutosh Bapat
              ashutosh.bapat Ashutosh Bapat
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 2h 40m
                  2h 40m