Skip to content

[BUG] V4 SDK hangs if Log level is set to DEBUG #13143

Description

@moderakh

v4 4.1.0 SDK hangs with default configuration if Log level is set to DEBUG.

just run the following code against an existing database and container. container.createItem(.) will never succeed.

CosmosAsyncClient client = new CosmosClientBuilder()
        .endpoint(TestConfigurations.HOST)
        .key(TestConfigurations.MASTER_KEY)
        .consistencyLevel(ConsistencyLevel.EVENTUAL)
        .buildAsyncClient();

// let's assume database and container already exist
CosmosAsyncContainer container = client.getDatabase(dbName).getContainer(containerName);

POJO pojo = new POJO();
pojo.id = UUID.randomUUID().toString();
pojo.prop = UUID.randomUUID().toString();

container.createItem(pojo).block();

Metadata

Metadata

Assignees

Labels

ClientThis issue points to a problem in the data-plane of the library.Cosmoscosmos:v4-itemIndicates this feature will be shipped as part of V4 release train

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions