Explain the process of ensuring data quality and consistency in a distributed system for Eight Sleep’s pipelines.