Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
moderakh opened this issue Jul 14, 2020 · 2 comments
Closed

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

moderakh opened this issue Jul 14, 2020 · 2 comments
Assignees
Labels
Client This issue points to a problem in the data-plane of the library. cosmos:v4-item Indicates this feature will be shipped as part of V4 release train Cosmos
Milestone

Comments

@moderakh
Copy link
Contributor

moderakh commented Jul 14, 2020

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();
@moderakh moderakh added Cosmos cosmos:v4-item Indicates this feature will be shipped as part of V4 release train labels Jul 14, 2020
@joshfree joshfree added the Client This issue points to a problem in the data-plane of the library. label Jul 15, 2020
@kushagraThapar kushagraThapar added this to the [2020] August milestone Jul 17, 2020
@mayank-magoyal
Copy link

@xinlian12 is this backported to version 4.1?

@xinlian12
Copy link
Member

@mayank-magoyal This fix is available >= 4.3, we did not backported to version 4.1

@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Client This issue points to a problem in the data-plane of the library. cosmos:v4-item Indicates this feature will be shipped as part of V4 release train Cosmos
Projects
None yet
Development

No branches or pull requests

5 participants