lokeshlal opened a new pull request #6975: Dynamic pooling via allowing tasks 
to use more than one pool slot (depending upon the need)
URL: https://github.com/apache/airflow/pull/6975
 
 
   PR contains changes in pool and task instance to provide functionality to 
tasks to use more than one pool slot.
   
   - Added pool_capacity field in TaskInstance (pool_capacity is defaulted to 
1, to maintain the current behavior)
   - Added pool_capacity in baseoperator
   - Modified pools functionality to calculate the 
used/queued/occupied/available slots
   - Modified pool_slots_available_dep.py to check against task _pool_capacity_ 
field instead of 1 
   - Modifed test case in file test_pool_slots_available_dep.py to include 
pool_capacity in the Mock object
   
   
-----------------------------------------------------------------------------------------------
   
   - [ ] Description above provides context of the change
   - [ ] Commit message contains 
[\[AIRFLOW-XXXX\]](https://issues.apache.org/jira/browse/AIRFLOW-XXXX) or 
`[AIRFLOW-XXXX]` for document-only changes
   - [ ] Unit tests coverage for changes (not needed for documentation changes)
   - [ ] Commits follow "[How to write a good git commit 
message](http://chris.beams.io/posts/git-commit/)"
   - [ ] Relevant documentation is updated including usage instructions.
   - [ ] I will engage committers as explained in [Contribution Workflow 
Example](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#contribution-workflow-example).
   In case of fundamental code change, Airflow Improvement Proposal 
([AIP](https://cwiki.apache.org/confluence/display/AIRFLOW/Airflow+Improvements+Proposals))
 is needed.
   In case of a new dependency, check compliance with the [ASF 3rd Party 
License Policy](https://www.apache.org/legal/resolved.html#category-x).
   In case of backwards incompatible changes please leave a note in 
[UPDATING.md](https://github.com/apache/airflow/blob/master/UPDATING.md).
   Read the [Pull Request 
Guidelines](https://github.com/apache/airflow/blob/master/CONTRIBUTING.rst#pull-request-guidelines)
 for more information.
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to