Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -445,8 +445,7 @@ private StorageGroupProcessor getStorageGroupProcessorByPath(
if (virtualStorageGroupManager == null) {
// if finish recover
if (isAllSgReady.get()) {
waitAllSgReady(devicePath);
synchronized (storageGroupMNode) {
synchronized (this) {
virtualStorageGroupManager = processorMap.get(storageGroupMNode.getPartialPath());
if (virtualStorageGroupManager == null) {
virtualStorageGroupManager = new VirtualStorageGroupManager();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ public StorageGroupProcessor getProcessor(
} else {
// not finished recover, refuse the request
throw new StorageEngineException(
"the sg " + partialPath + " may not ready now, please wait and retry later",
"the sg "
+ storageGroupMNode.getFullPath()
+ " may not ready now, please wait and retry later",
TSStatusCode.STORAGE_GROUP_NOT_READY.getStatusCode());
}
}
Expand Down