Commit b5189194 by Ashutosh Mestry

ATLAS-3354: Stale entry in RequestContext causes Export's changeMarker to not be updated.

parent 7b0a0e12
No related merge requests found
......@@ -360,6 +360,8 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler {
}
} catch (AtlasBaseException e) {
LOG.error("Failed to init after becoming active", e);
} finally {
RequestContext.clear();
}
}
......@@ -880,6 +882,7 @@ public class AtlasTypeDefStoreInitializer implements ActiveStateChangeHandler {
ret = APPLIED;
} finally {
RequestContext.get().setInTypePatching(false);
RequestContext.clear();
}
}
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment