Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32707

MemLogAppender#waitFor is not working

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: 2023.x, 2025.x
    • Component/s: Streams
    • Tags:
    • Sprint:
      nxplatform next
    • Story Points:
      2

      Description

      It's working only for the first record with an offset 0,
      it should be patched with:

           private boolean isProcessed(OffsetTracker offsetTracker, long offset) {
               long committed = offsetTracker.get();
      -        return committed > 0 && committed >= offset;
      +        return committed > 0 && committed > offset;
           }
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                bdelbosc Benoit Delbosc
                Reporter:
                bdelbosc Benoit Delbosc
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: