)]}'
{
  "commit": "1ce37ad5ed1e75e11a2546fcb325529f435dd211",
  "tree": "a5a80adab81265b39f928e67ac4639f3e9c42a5b",
  "parents": [
    "199fd8694c5c116394df6dca8980467dbde66471"
  ],
  "author": {
    "name": "khenaidoo",
    "email": "knursimu@ciena.com",
    "time": "Sun Mar 24 22:07:24 2019 -0400"
  },
  "committer": {
    "name": "khenaidoo",
    "email": "knursimu@ciena.com",
    "time": "Sun Mar 24 22:07:24 2019 -0400"
  },
  "message": "[VOL-1512] Set device ownership\n\nThis commit consists of the following:\n1) Set device ownership per Core in a Core-pair such that only 1\nCore actively process a device (i.e. handles all the requests for\nthat device) while the other Core in the pair passively watch for\nupdates on that device and will take over in case the owner Core\nfailed to process the transaction.\n2) Cleanup the lock mechanisms to ensure we use a read lock when\nneeded instead of just a lock.\n3) Update logical port additions such that ports are added only when\nthe device is enabled.\n4) Update the port Ids for the logical ports.\n5) Update some sarama client configs for performance - this is an\nongoing tune up.\n6) Update the adapter request handler in the Core to send back an\nACK immediately to the adapter request instead of processing the\nrequest fully and then sending an ACK.  This reduces the latency\nover kafka and therefore reduces the likelihood of timeouts.\n\nChange-Id: I9149bf3ba6fbad38e3a29c76ea8dba2f9f731d29\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "8f6f35ec86e7e832685310c8dddcd3c35f2f0498",
      "old_mode": 33188,
      "old_path": "compose/rw_core_concurrency_test.yml",
      "new_id": "c672cfd6c6a9c45e30789c80b5f423fba17971c4",
      "new_mode": 33188,
      "new_path": "compose/rw_core_concurrency_test.yml"
    },
    {
      "type": "modify",
      "old_id": "42ab83c26a6af2abb642cc62b30497ff7d1abbbe",
      "old_mode": 33188,
      "old_path": "db/kvstore/etcdclient.go",
      "new_id": "887a167a6066164180c44ea66483f1aa0f8c8c0a",
      "new_mode": 33188,
      "new_path": "db/kvstore/etcdclient.go"
    },
    {
      "type": "modify",
      "old_id": "316a4a5e5e94090df97726335233e94bf72cf3fb",
      "old_mode": 33188,
      "old_path": "kafka/client.go",
      "new_id": "95882740dc2f8f05b43d0a114cf3c19dfb477511",
      "new_mode": 33188,
      "new_path": "kafka/client.go"
    },
    {
      "type": "modify",
      "old_id": "1229e7a5e8affd5fc4bc1e48866789c84e34c41e",
      "old_mode": 33188,
      "old_path": "kafka/kafka_inter_container_library.go",
      "new_id": "e5e96068a02898d5cf5566e24e2f664c8ff4f12c",
      "new_mode": 33188,
      "new_path": "kafka/kafka_inter_container_library.go"
    },
    {
      "type": "modify",
      "old_id": "698fefab1fd5d0fed2c60737b14c4d3aeb24754a",
      "old_mode": 33188,
      "old_path": "kafka/sarama_client.go",
      "new_id": "b0ce50296751d4f1c72c778ef9dd52c56e0bcd8d",
      "new_mode": 33188,
      "new_path": "kafka/sarama_client.go"
    },
    {
      "type": "modify",
      "old_id": "84e303c4ad2432d63f8e2f25f2f7a802754f5f00",
      "old_mode": 33188,
      "old_path": "python/adapters/ponsim_olt/ponsim_olt.py",
      "new_id": "42a36c1472c8fa64c3ad3a441725f96fab865552",
      "new_mode": 33188,
      "new_path": "python/adapters/ponsim_olt/ponsim_olt.py"
    },
    {
      "type": "modify",
      "old_id": "e0592b45500bda05a0b76fefeaf3e76feeb8bdf0",
      "old_mode": 33188,
      "old_path": "python/adapters/ponsim_onu/ponsim_onu.py",
      "new_id": "0810376c5243e15763c10e6c4fb8a3ef82a1cae5",
      "new_mode": 33188,
      "new_path": "python/adapters/ponsim_onu/ponsim_onu.py"
    },
    {
      "type": "modify",
      "old_id": "0be4e1200d4c31cda8efaf1dbb0f0a55382864af",
      "old_mode": 33188,
      "old_path": "rw_core/core/adapter_manager.go",
      "new_id": "ec3f0db51b741a85383bf26febde202a6c4c2fce",
      "new_mode": 33188,
      "new_path": "rw_core/core/adapter_manager.go"
    },
    {
      "type": "modify",
      "old_id": "3d9487fe8b5bb5adb927b6783c91f7382691e42b",
      "old_mode": 33188,
      "old_path": "rw_core/core/adapter_request_handler.go",
      "new_id": "f450ca23b45910eaa55879834fc28b0ce04032ce",
      "new_mode": 33188,
      "new_path": "rw_core/core/adapter_request_handler.go"
    },
    {
      "type": "modify",
      "old_id": "02f99fd3743dcc267971231cdb5af1aae1a619fe",
      "old_mode": 33188,
      "old_path": "rw_core/core/core.go",
      "new_id": "9f6adcd618f15f47e2edadd58d3c971ad55a8187",
      "new_mode": 33188,
      "new_path": "rw_core/core/core.go"
    },
    {
      "type": "modify",
      "old_id": "b321f227a2a06a0f1a242f9f8e3d4814da28470a",
      "old_mode": 33188,
      "old_path": "rw_core/core/device_agent.go",
      "new_id": "1d9480d7fb7071bf2670c3f22d4c6aae6c6d4cd5",
      "new_mode": 33188,
      "new_path": "rw_core/core/device_agent.go"
    },
    {
      "type": "modify",
      "old_id": "06d3bd4894ab9eb7f83e0e72802882ab9071d1ec",
      "old_mode": 33188,
      "old_path": "rw_core/core/device_manager.go",
      "new_id": "b27f01ad97989daa30f6a8b5db9f41cfe526a71d",
      "new_mode": 33188,
      "new_path": "rw_core/core/device_manager.go"
    },
    {
      "type": "modify",
      "old_id": "f229383f21b53c9026d48fd5e9c8d348b5727762",
      "old_mode": 33188,
      "old_path": "rw_core/core/device_ownership.go",
      "new_id": "92262ab5ae3b54e4ff630a0133b87b2f499dc716",
      "new_mode": 33188,
      "new_path": "rw_core/core/device_ownership.go"
    },
    {
      "type": "modify",
      "old_id": "d7834eb9911d2205d530e410f16a2e4bac04feca",
      "old_mode": 33188,
      "old_path": "rw_core/core/grpc_nbi_api_handler.go",
      "new_id": "1e5cc5b4d29b9bd1f5b93ccb2181fcadc45d2c46",
      "new_mode": 33188,
      "new_path": "rw_core/core/grpc_nbi_api_handler.go"
    },
    {
      "type": "modify",
      "old_id": "03edb57670ea5872d1ff69a9280892dfa6fb017a",
      "old_mode": 33188,
      "old_path": "rw_core/core/logical_device_agent.go",
      "new_id": "a8e6a708f7044a2038cafb6ed47785787c4918bd",
      "new_mode": 33188,
      "new_path": "rw_core/core/logical_device_agent.go"
    },
    {
      "type": "modify",
      "old_id": "47249f62575a9d53665785e8898d686b080d75f9",
      "old_mode": 33188,
      "old_path": "rw_core/core/logical_device_manager.go",
      "new_id": "5f572b1dcf45241ffc8aed77aa694432afcf5972",
      "new_mode": 33188,
      "new_path": "rw_core/core/logical_device_manager.go"
    },
    {
      "type": "modify",
      "old_id": "ec7e4ca520f2055890793355213ac7902851a556",
      "old_mode": 33188,
      "old_path": "rw_core/core/transaction.go",
      "new_id": "12bf93e03c26ee0705e065dc0ac8c41f8bd673c5",
      "new_mode": 33188,
      "new_path": "rw_core/core/transaction.go"
    },
    {
      "type": "modify",
      "old_id": "d7192da65b97f7738122d43ea8437b0b0761ac66",
      "old_mode": 33188,
      "old_path": "rw_core/graph/device_graph.go",
      "new_id": "58198de4f75136e0fa928d746ad2ca15ee54debd",
      "new_mode": 33188,
      "new_path": "rw_core/graph/device_graph.go"
    },
    {
      "type": "modify",
      "old_id": "92b16d28c3fc60ca74788f8b594d14e500becd95",
      "old_mode": 33188,
      "old_path": "rw_core/main.go",
      "new_id": "2dadeb2dd55b1eb7b768c315d2d6ab4bc07e81eb",
      "new_mode": 33188,
      "new_path": "rw_core/main.go"
    },
    {
      "type": "add",
      "old_id": "0000000000000000000000000000000000000000",
      "old_mode": 0,
      "old_path": "/dev/null",
      "new_id": "1e1ed9f1414e0f13f8e4d17b5958c0efce436ad5",
      "new_mode": 33188,
      "new_path": "rw_core/utils/core_utils.go"
    }
  ]
}
