Coverity analysis defect 123323: Using a moved object

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-10-03, Sharding EMEA 2022-10-17
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Using a moved object

      Using a moved object may lead to an unexpected/undefined behavior. An object is used after it's moved.
      /src/mongo/s/chunk_manager.cpp:936: USE_AFTER_MOVE 123323 "shardVersion" is moved (indicated by "std::move(shardVersion)").
      /src/mongo/s/chunk_manager.cpp:939: USE_AFTER_MOVE 123323 "shardVersion" is used after it has been already moved.

            Assignee:
            Paolo Polato
            Reporter:
            Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: