Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-9156

LazyTimeIndex & LazyOffsetIndex may cause niobufferoverflow in concurrent state

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.3.0, 2.3.1
    • Fix Version/s: 2.4.0, 2.3.2
    • Component/s: core
    • Labels:
    • Flags:
      Important

      Description

      this timeindex get function is not thread safe ,may cause create some timeindex.

      When create timeindex not exactly one ,may cause mappedbytebuffer position to end. Then write index entry to this mmap file will cause java.nio.BufferOverflowException.

       

       

       

       

        Attachments

        Issue Links

          Activity

            People

            • Assignee:
              amironov Alex Mironov
              Reporter:
              lushilin shilin Lu
              Reviewer:
              Ismael Juma

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment