Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-5283

getStorageSize cast to int can cause issue

    XMLWordPrintableJSON

Details

    Description

      XceiverServerRatis.java:438

       final int pendingRequestsByteLimit = (int)conf.getStorageSize(
              OzoneConfigKeys.DFS_CONTAINER_RATIS_LEADER_PENDING_BYTES_LIMIT,
              OzoneConfigKeys.DFS_CONTAINER_RATIS_LEADER_PENDING_BYTES_LIMIT_DEFAULT,
              StorageUnit.BYTES);
      

      because of int limitation, the limit can not be set beyond 2 GB.

       

      Attachments

        1. Screen Shot 2021-06-01 at 11.35.52 AM.png
          385 kB
          Bharat Viswanadham

        Issue Links

          Activity

            People

              sadanand_shenoy Sadanand Shenoy
              shashikant Shashikant Banerjee
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: