Skip to content

DRILL-4246: Fix Allocator concurrency bug and improve error detection#323

Closed
jacques-n wants to merge 1 commit intoapache:masterfrom
jacques-n:DRILL-4246
Closed

DRILL-4246: Fix Allocator concurrency bug and improve error detection#323
jacques-n wants to merge 1 commit intoapache:masterfrom
jacques-n:DRILL-4246

Conversation

@jacques-n
Copy link
Copy Markdown
Contributor

  • Rename the internal DrillBuf field to udle to better express its purpose.
  • Rename AllocatorManager to AllocationManager to better express its purpose.
  • Address situation where dangling ledger could be transferred into while it was being released released by protecting association and release inside the AllocationManager.
  • Add allocator assertions to ensure allocator operations are done while the allocator is open.
  • Simplify AllocationManager locking model.
  • Exclude HDFS reference to netty-all
  • Improve debugging messages for allocators (and fix debug message bugs)

Tests pending but evaluation shows previously frequently failing flatten tests to consistently pass.

- Rename the internal DrillBuf field to udle to better express its purpose.
- Rename AllocatorManager to AllocationManager to better express its purpose.
- Address situation where dangling ledger could be transferred into while it was being released released by protecting association and release inside the AllocationManager.
- Add allocator assertions to ensure allocator operations are done while the allocator is open.
- Simplify AllocationManager locking model.
- Exclude HDFS reference to netty-all
- Improve debugging messages for allocators (and fix debug message bugs)
@jacques-n
Copy link
Copy Markdown
Contributor Author

Passes unit and regression suites

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment needs to be updated

@parthchandra
Copy link
Copy Markdown
Contributor

LGTM. +1

@asfgit asfgit closed this in a0ae83c Jan 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants