Uploaded image for project: 'Chemistry'
  1. Chemistry
  2. CMIS-903

Client blocks after multiple removeFromFolder operations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: DotCMIS 0.6
    • Fix Version/s: DotCMIS 0.7
    • Component/s: dotcmis
    • Labels:
      None

      Description

      We found a situation where the client iterates through a list of documents in a folder, unfiling them one by one. (Atompub 1.0 binding)
      After the second iteration the client will hang and timeout. (server is ok)
      Increasing the .Net runtime's ServicePointManagerDefaultConnectionLimit
      docs here
      https://msdn.microsoft.com/en-us/us-en/library/system.net.servicepointmanager.defaultconnectionlimit.aspx
      from default of 2 to X will move the problem to iteration X. (i.e. increase to 10 and hang will happen on iteration 10)

      Reproduced this with FileNet server and with inMemory server to verify it was not something vendor specific we were doing.
      Will attach sample .net client code in case you need to reproduce this locally. See LOOK_HERE label in sample code for exaction location of hang.

        Attachments

        1. Program.cs
          0.9 kB
          jay brown
        2. IBMTest.cs
          4 kB
          jay brown

          Activity

            People

            • Assignee:
              fmui Florian Müller
              Reporter:
              jay.brown jay brown
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: