)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":18250,"name":"Roy Tang","email":"roy.s.tang@att.com","username":"rt7380"},"change_message_id":"d06ba470f28baa8cfbdd4ad4129c1391af7bedc4","unresolved":true,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix race condition for grastate.dat"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"There seems to be a race condition invovling the grastate.dat file."},{"line_number":10,"context_line":"Upon creation of a new mariad-server pod the file would exist however,"},{"line_number":11,"context_line":"it is not populated for a short period of time. It seems to take"},{"line_number":12,"context_line":"around 15-20 seconds for this file to be populated. However there is"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"e98f547d_12f5f9cc","line":9,"range":{"start_line":9,"start_character":35,"end_line":9,"end_character":45},"updated":"2021-04-19 19:45:10.000000000","message":"sp","commit_id":"bcd538b84594cd64f4a640105d9478a901e3d9ff"},{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"d0a549883f67b895005f09f4b701da5cb4d5f3e0","unresolved":false,"context_lines":[{"line_number":6,"context_line":""},{"line_number":7,"context_line":"Fix race condition for grastate.dat"},{"line_number":8,"context_line":""},{"line_number":9,"context_line":"There seems to be a race condition invovling the grastate.dat file."},{"line_number":10,"context_line":"Upon creation of a new mariad-server pod the file would exist however,"},{"line_number":11,"context_line":"it is not populated for a short period of time. It seems to take"},{"line_number":12,"context_line":"around 15-20 seconds for this file to be populated. However there is"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":2,"id":"880aa4ab_fac0b26b","line":9,"range":{"start_line":9,"start_character":35,"end_line":9,"end_character":45},"in_reply_to":"e98f547d_12f5f9cc","updated":"2021-04-19 20:00:38.000000000","message":"Done","commit_id":"bcd538b84594cd64f4a640105d9478a901e3d9ff"}],"mariadb/templates/bin/_start.py.tpl":[{"author":{"_account_id":18250,"name":"Roy Tang","email":"roy.s.tang@att.com","username":"rt7380"},"change_message_id":"d06ba470f28baa8cfbdd4ad4129c1391af7bedc4","unresolved":true,"context_lines":[{"line_number":497,"context_line":"    \"\"\""},{"line_number":498,"context_line":"    logger.debug(\"Reading grastate.dat key\u003d{0}\".format(key))"},{"line_number":499,"context_line":"    try:"},{"line_number":500,"context_line":"        # It seems like there is a race condition with the original"},{"line_number":501,"context_line":"        # population of the grastate.date file where the file would exist"},{"line_number":502,"context_line":"        # however, it is not populated. Testing indicated it could take"},{"line_number":503,"context_line":"        # 15-20 seconds for the file to be populated. So loop and keep checking"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"718af817_e024d1f1","line":500,"range":{"start_line":500,"start_character":10,"end_line":500,"end_character":67},"updated":"2021-04-19 19:45:10.000000000","message":"reword suggestion: This attempts to address a potential race condition with the initial creation....","commit_id":"bcd538b84594cd64f4a640105d9478a901e3d9ff"},{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"d0a549883f67b895005f09f4b701da5cb4d5f3e0","unresolved":false,"context_lines":[{"line_number":497,"context_line":"    \"\"\""},{"line_number":498,"context_line":"    logger.debug(\"Reading grastate.dat key\u003d{0}\".format(key))"},{"line_number":499,"context_line":"    try:"},{"line_number":500,"context_line":"        # It seems like there is a race condition with the original"},{"line_number":501,"context_line":"        # population of the grastate.date file where the file would exist"},{"line_number":502,"context_line":"        # however, it is not populated. Testing indicated it could take"},{"line_number":503,"context_line":"        # 15-20 seconds for the file to be populated. So loop and keep checking"}],"source_content_type":"text/x-smarty","patch_set":2,"id":"b8302bc7_0457b389","line":500,"range":{"start_line":500,"start_character":10,"end_line":500,"end_character":67},"in_reply_to":"718af817_e024d1f1","updated":"2021-04-19 20:00:38.000000000","message":"Done","commit_id":"bcd538b84594cd64f4a640105d9478a901e3d9ff"},{"author":{"_account_id":18250,"name":"Roy Tang","email":"roy.s.tang@att.com","username":"rt7380"},"change_message_id":"d06ba470f28baa8cfbdd4ad4129c1391af7bedc4","unresolved":true,"context_lines":[{"line_number":499,"context_line":"    try:"},{"line_number":500,"context_line":"        # It seems like there is a race condition with the original"},{"line_number":501,"context_line":"        # population of the grastate.date file where the file would exist"},{"line_number":502,"context_line":"        # however, it is not populated. Testing indicated it could take"},{"line_number":503,"context_line":"        # 15-20 seconds for the file to be populated. So loop and keep checking"},{"line_number":504,"context_line":"        # for up to 60 seconds. If it still isn\u0027t populated after 60 seconds"},{"line_number":505,"context_line":"        # the IndexError will still occur as we are seeing now without the loop."}],"source_content_type":"text/x-smarty","patch_set":2,"id":"2d287d93_69490588","line":502,"range":{"start_line":502,"start_character":25,"end_line":502,"end_character":38},"updated":"2021-04-19 19:45:10.000000000","message":"not immediately populated.","commit_id":"bcd538b84594cd64f4a640105d9478a901e3d9ff"},{"author":{"_account_id":30746,"name":"Travis Neely","email":"travis.neely@att.com","username":"travis.neely@att.com"},"change_message_id":"d0a549883f67b895005f09f4b701da5cb4d5f3e0","unresolved":false,"context_lines":[{"line_number":499,"context_line":"    try:"},{"line_number":500,"context_line":"        # It seems like there is a race condition with the original"},{"line_number":501,"context_line":"        # population of the grastate.date file where the file would exist"},{"line_number":502,"context_line":"        # however, it is not populated. Testing indicated it could take"},{"line_number":503,"context_line":"        # 15-20 seconds for the file to be populated. So loop and keep checking"},{"line_number":504,"context_line":"        # for up to 60 seconds. If it still isn\u0027t populated after 60 seconds"},{"line_number":505,"context_line":"        # the IndexError will still occur as we are seeing now without the loop."}],"source_content_type":"text/x-smarty","patch_set":2,"id":"64cfb274_9378fd97","line":502,"range":{"start_line":502,"start_character":25,"end_line":502,"end_character":38},"in_reply_to":"2d287d93_69490588","updated":"2021-04-19 20:00:38.000000000","message":"Done","commit_id":"bcd538b84594cd64f4a640105d9478a901e3d9ff"}]}
