Uploaded image for project: 'Tajo (Retired)'
  1. Tajo (Retired)
  2. TAJO-1299

TB and PB representations in StorageUnit are overflow

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • Storage
    • None

    Description

      See the StorageUnit class. TB and PB are overflow against integer presentation.

      public class StorageUnit {
      
      	public static final int B = 8;
      	public static final int KB = 1024;
      	public static final int MB = KB * 1024;
      	public static final int GB = MB * 1024;
      	public static final int TB = GB * 1024;
      	public static final int PB = TB * 1024;
      }
      

      Attachments

        Activity

          People

            ykrips Jihun Kang
            hyunsik Hyunsik Choi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: