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

File channel size in bytes limited by int not long

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Patch Available
    • Major
    • Resolution: Unresolved
    • 1.7.0
    • None
    • File Channel
    • 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

              Unassigned Unassigned
              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