@Override
    public int hashCode() {
        return Objects.hash(instanceType, filterDatabaseName(this));
    }
@Test
    void assertHashCodeEqualsForProxyMode() {
        PipelineContextKey contextKey1 = new PipelineContextKey(null, InstanceType.PROXY);
        PipelineContextKey contextKey2 = new PipelineContextKey("sharding_db", InstanceType.PROXY);
        assertThat(contextKey1.hashCode(), is(contextKey2.hashCode()));
        assertThat(contextKey1, is(contextKey2));
    }