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

Add unit test coverage for Time-series code

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Storage Execution

      There are a number of time-series files that are lacking good unit coverage. This ticket will look into adding more unit coverage where possible/appropriate. More information on the existing coverage files can be found by following this guide. Some files of interest include:

      mongo/db/timeseries/timeseries_commands_conversion_helper.cpp

      mongo/db/timeseries/bucket_catalog/bucket_catalog_server_status.cpp

      mongo/db/timeseries/bucket_compression_failure.cpp

      mongo/db/timeseries/timeseries_extended_range.cpp

      mongo/db/timeseries/bucket_catalog/closed_bucket.cpp

      mongo/db/timeseries/bucket_catalog/execution_stats.cpp

      mongo/db/timeseries/timeseries_write_util.cpp

      mongo/db/timeseries/timeseries_index_schema_conversion_functions.cpp

      mongo/db/timeseries/timeseries_options.cpp

       

      Failpoints to look at:

      timeseriesDataIntegrityCheckFailureUpdate
      hangTimeseriesDirectModificationBeforeWriteConflict
      hangTimeseriesDirectModificationAfterStart
      hangTimeseriesDirectModificationBeforeFinish
      hangTimeseriesInsertBeforeReopeningBucket
      runPostCommitDebugChecks
      alwaysUseSameBucketCatalogStripe
      hangTimeSeriesBatchPrepareWaitingForConflictingOperation
      simulateBsonColumnCompressionDataLoss

            Assignee:
            Unassigned Unassigned
            Reporter:
            damian.wasilewicz@mongodb.com Damian Wasilewicz
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: