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

Client blocks after multiple removeFromFolder operations

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • DotCMIS 0.6
    • DotCMIS 0.7
    • dotcmis
    • 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. IBMTest.cs
          4 kB
          jay brown
        2. Program.cs
          0.9 kB
          jay brown

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: