Azure / azure-sdk-for-java

This repository is for active development of the Azure SDK for Java. For consumers of the SDK we recommend visiting our public developer docs at https://docs.microsoft.com/java/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-java.
MIT License
2.25k stars 1.93k forks source link

Adjusting queue length for Schedulers used in BulkWriter #40844

Closed FabianMeiswinkel closed 3 days ago

FabianMeiswinkel commented 4 days ago

Description

BulkWriter uses a static Scheduler - each BulkExecutor (one per Core) can have a certain number of pending operations in Spark. Currently the queue size in the Scheduler is too small (sufficient for one BulKExecutor - but not one per Core). Increasing the queue size there and ensuring that the BulKExecutor's scheduler also has sufficient queue length.

All SDK Contribution checklist:

General Guidelines and Best Practices

Testing Guidelines

azure-sdk commented 4 days ago

API change check

API changes are not detected in this pull request.

FabianMeiswinkel commented 3 days ago

/azp run java - cosmos - spark

azure-pipelines[bot] commented 3 days ago
Azure Pipelines successfully started running 1 pipeline(s).