>From Ritik Raj <[email protected]>: Ritik Raj has posted comments on this change. ( https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19547 )
Change subject: [NO ISSUE][STO] Fix race while destroy ...................................................................... Patch Set 1: (3 comments) File asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19547/comment/b4a2ab0f_99dc6aea PS1, Line 166: atasetResource datasetResource = datasets.get(datasetID); : if (datasetResource == null) { : datasetResource = getDatasetLifecycle(datasetID); : } already being computed if absent. https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19547/comment/9536ea94_d2354483 PS1, Line 724: DatasetResource dsr = datasets.get(datasetId); its fine, because it works on the view of the dataset, coming from FlushDatasetOp. https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19547/comment/b7da5f76_ecf87f6b PS1, Line 665: DatasetResource dataset = datasets.get(datasetId); function not being used. -- To view, visit https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/19547 To unsubscribe, or for help writing mail filters, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-Project: asterixdb Gerrit-Branch: ionic Gerrit-Change-Id: I932fd456493da47255d122833d6c6e1fe41fb02a Gerrit-Change-Number: 19547 Gerrit-PatchSet: 1 Gerrit-Owner: Ritik Raj <[email protected]> Gerrit-CC: Anon. E. Moose #1000171 Gerrit-CC: Jenkins <[email protected]> Gerrit-Comment-Date: Mon, 24 Mar 2025 20:06:58 +0000 Gerrit-HasComments: Yes Gerrit-Has-Labels: No Gerrit-MessageType: comment
