• Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Execution
    • ALL
    • Hide

      The regression test I added for the SERVER-137654 is here:
      https://github.com/10gen/mongo/blob/35581693b420d7e8eb9fbfb40f7205bb1118090b/jstests/aggregation/sources/unionWith/union_with_coll_stats_view.js

      When this test is run in the passthrough aggregation_unsplittable_collections_on_random_shard_passthrough it usually fails (unless the local and foreign collections happen to be on the same shard.

      Show
      The regression test I added for the SERVER-137654 is here: https://github.com/10gen/mongo/blob/35581693b420d7e8eb9fbfb40f7205bb1118090b/jstests/aggregation/sources/unionWith/union_with_coll_stats_view.js When this test is run in the passthrough aggregation_unsplittable_collections_on_random_shard_passthrough it usually fails (unless the local and foreign collections happen to be on the same shard.
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      An aggregation whose pipeline contains a $unionWith whose sub-pipeline begins with a cursorless stage ($collStats) fails with a non-retryable StaleConfig ("timestamp mismatch detected") whenever the node that executes the $unionWith is not the shard that owns the foreign collection. This is hit deterministically on clusters where tracked unsplittable collections live off the merging node (e.g. after moveCollection, or when unsharded collections are tracked upon creation and placed on a random data shard), which is the configuration exercised by the aggregation_unsplittable_collections_on_random_shard_passthrough suite.

      I found this issue when adding a regression test for SERVER-137654.

      The issue SERVER-113591 is related, but is restricted to legacy time series collections, and so is considered lower priority.

            Assignee:
            Unassigned
            Reporter:
            Chris Wolff
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: