Uploaded image for project: 'Flume'
  1. Flume
  2. FLUME-3179

File channel size in bytes limited by int not long

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Patch Available
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 1.7.0
    • Fix Version/s: None
    • Component/s: File Channel
    • Labels:
      None

      Description

      EventQueueBackingStoreFile contains following string

      long totalBytes = (capacity + HEADER_SIZE) * Serialization.SIZE_OF_LONG;

      which actually make totalBytes limited by Integer.MAX_VALUE but not Long.MAX_VALUE

      This is make impossible to create file channel greater then 268434426 events

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                moskovkin Vitaly Moskovkin
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - 1h
                  1h
                  Remaining:
                  Remaining Estimate - 1h
                  1h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified