Project

General

Profile

Task #7947

Calling cn.synchronize method asynchronously in mn.updatesystemmeta on Metacat

Added by Jing Tao over 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Metacat
Target version:
Start date:
2016-11-30
Due date:
% Done:

100%

Milestone:
None
Product Version:
*
Story Points:
Sprint:

Description

The a client to the mn.updatesystemetadata on the Metacat mn, sometimes it waited for 30 seconds to finish the call. The problem is that the calling of cn.synchronize method somehow was hang, then returned a timeout exception.
If we call the cn.synchronzie method in another thread, the client will not wait for so long.

History

#1 Updated by Jing Tao over 7 years ago

Chris just mentioned that the mn.update method has the same issue. So we should check every methods there.

#2 Updated by Dave Vieglais over 7 years ago

  • Target version changed from CCI-2.3.1 to CCI-2.3.2

Moving to 2.3.2 - less urgent than a couple other fixes.

#3 Updated by Jing Tao over 7 years ago

  • Status changed from New to Closed
  • Target version changed from CCI-2.3.2 to CCI-2.3.1
  • % Done changed from 0 to 100

I double-checked the mn.update method and couldn't find the cn.sync method was called there. So I added some performance statement to help identify the issue.

#4 Updated by Jing Tao about 7 years ago

  • Category set to Metacat

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 14.8 MB)