Uploaded image for project: 'Ranger'
  1. Ranger
  2. RANGER-1490

Increase size of sort_order column of x_policy_resource_map

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.5.0, 0.6.0, 0.7.0
    • Fix Version/s: 1.0.0, 0.7.1
    • Component/s: Ranger
    • Labels:
      None

      Description

      Problem Statement : Currently data type of sort_order column is tinyint which can accept maximum 128 unsigned number; if any policy is having more than 128 resource entries then data truncation error might be generated at DB end and application will not be able to insert entry of any more resources for specific policy.
      Proposed Solution : Change data type of sort_order column of 'x_policy_resource_map' from tinyint to integer(4 byte)

        Attachments

        1. RANGER-1490-master-branch.patch
          9 kB
          Pradeep Agrawal

          Issue Links

            Activity

              People

              • Assignee:
                pradeep Pradeep Agrawal
                Reporter:
                pradeep Pradeep Agrawal
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: