Type 1 but not type 2 calreticulin mutations activate the IRE1a/XBP1 pathway of the unfolded protein response to drive myeloproliferative neoplasms.