mirror of
https://github.com/apache/impala.git
synced 2026-01-07 09:02:19 -05:00
An invalid DCHECK in Coordinator::BackendState::InstanceStatsToJson() assumed that the number of fragment instances is equal to the number of fragments. This is not true when mt_dop > 0, which results in multiple instances of a fragment on a single node. The fix is to remove the invalid DCHECK. It served to document the programmers understanding and the code does not rely on the assumption being true. This change adds a test that would fail with the DCHECK in place. Change-Id: I4ea4d583c6ab3fc788db8e220c0a1891918a823f Reviewed-on: http://gerrit.cloudera.org:8080/10192 Reviewed-by: Sailesh Mukil <sailesh@cloudera.com> Tested-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>