Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-5244

clearcase indexing doesnt clear its changes cache in the right spot

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 2.4.4
    • None
    • None
    • None

    Description

      its clearing its changes cache after doing work. so if it fails half way through, the next time around, it has crap in it.

      there is an implied assumption in the code that the cache will be empty when it starts. in git and hg, we dont have this assumption - we clear it at the start rather than the end.

      i think the proper fix here is that we shouldnt be using the same object across multiple changes / branches / etc. we should create a new one each time, so we dont have to rely on clearing it at all.

      specificaly, this is at ClearCaseRepositoryScanner.processBranch, and the clearing call is changeParser.resetChangeSets(). this call should at least be the first line in the method.

      Attachments

        Activity

          People

            gcrain Geoff Crain (Inactive)
            gcrain Geoff Crain (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: