Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-83172

Handle intermittent validate command failure in shard merge passthrough suites due to timeseries uncompressed bucket workload.

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.3.0-rc0, 7.2.0-rc2
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution
    • Fully Compatible
    • ALL
    • v7.2, v7.1
    • Execution Team 2023-11-27
    • 15

      There are some jscore timeseries tests (timeseries_create.js) that insert uncompressed buckets directly into the system.bucket.* collection, which can cause the collection validation hook to fail in shard merge passthrough suites on feature flags build variant. That's because we run the validate command with enforceTimeseriesBucketsAreAlwaysCompressed set to true when featureFlagTimeseriesAlwaysUseCompressedBuckets is enabled.

      timeseries_reopened_bucket_insert.js, which also inserts uncompressed buckets directly into the system.bucket.* collection, faced a similar BF issue. But, we fixed the problem by tagging the test as tenant_migration_incompatible. I don't think that's a correct way to fix this problem.

      Those problematic tests not only does uncompressed bucket testing but also perform compressed bucket testing. Thus, blacklisting those tests would result in a loss of coverage for those compressed bucket testing in the merge passthrough suites. So, I recommend running the merge passthrough suites with skipEnforceTimeseriesBucketsAreAlwaysCompressedOnValidate. Once featureFlagTimeseriesAlwaysUseCompressedBuckets is enabled by default by defauly(targeted for 7.3), I anticipate that PM-3055 will update all jscore tests to remove explicit uncompressed bucket sequence testing.

      This is problem also applies to tenant migration and shard split passthrough suites

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: