MantisBT - ParaView
View Issue Details
0012546ParaView(No Category)public2011-08-24 07:392012-02-08 17:27
Paul Edwards 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
Development 
3.123.12 
Kitware
12546_fix_multiple_executes
incorrect functionality
0012546: RequestData called twice in parallel
Filters have their RequestData called twice when using a parallel server. This happens when the filter is first added - subsequent "Apply"s only called it once.

To reproduce:
First run a parallel server, attach a debugger and set a breakpoint in "vtkArrayCalculator::RequestData"
Create a Box source
Use calculator to add an array, e.g. "coordsX"
Click Apply [ RequestData gets called twice ]
Update arrat , e.g. "coordsX + 0"
Click Apply [ RequestData only gets called once ]
No tags attached.
related to 0011811closed Utkarsh Ayachit Internal surfaces visible after D3 when opacity < 1 
Issue History
2011-08-24 07:39Paul EdwardsNew Issue
2011-08-24 08:58Utkarsh AyachitAssigned To => Utkarsh Ayachit
2011-08-24 08:59Utkarsh AyachitTarget Version => 3.12
2011-08-24 09:02Utkarsh AyachitRelationship addedrelated to 0011811
2011-08-24 09:02Utkarsh AyachitNote Added: 0027417
2011-08-24 09:02Utkarsh AyachitNote Edited: 0027417bug_revision_view_page.php?bugnote_id=27417#r386
2011-08-24 15:32Utkarsh AyachitTopic Name => 12546_fix_multiple_executes
2011-08-24 15:32Utkarsh AyachitNote Added: 0027425
2011-08-24 15:32Utkarsh AyachitStatusbacklog => gatekeeper review
2011-08-24 15:32Utkarsh AyachitFixed in Version => 3.12
2011-08-24 15:32Utkarsh AyachitResolutionopen => fixed
2011-08-24 15:36Utkarsh AyachitProjectTBD => Kitware
2011-08-26 15:57Utkarsh AyachitStatusgatekeeper review => customer review
2012-02-08 17:27Utkarsh AyachitStatuscustomer review => closed
2012-02-08 17:27Utkarsh AyachitNote Added: 0028183

Notes
(0027417)
Utkarsh Ayachit   
2011-08-24 09:02   
The fix for BUG 0011811 is what's causing this issue.

(0027425)
Utkarsh Ayachit   
2011-08-24 15:32   
commit cb9bc043970d96dc5f36ca9b7e06c74d0b78eda6
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed Aug 24 15:31:22 2011 -0400

    Fixed BUG 0012546. RequestData was called twice in parallel.
    
    The issue was introduced by fix for BUG 0011811. We were now requesting
    ghost-cells in representations to use the ghost-cell information when available
    during rendering. However that meant that all the request changed since previous
    update on the pipeline, since the GUI would call UpdatePipeline() when creating
    the representation but without the extra ghost cells.
    
    Fixed this issue by making the GUI also ask for ghost-cells in a similar fashion
    to vtkGeometryRepresentation. This was done by updating
    vtkSISourceProxy::UpdatePipeline to request ghost cells using the logic in
    vtkGeometryRepresentation.
    
    vtkGeometryRepresentation was checking for data-type when deciding whether to
    ask for ghost cells. That meant that vtkSISourceProxy couldn't use it since the
    algorithm had not produced any data yet. Anyways, the datatype check was
    unnecessary since we were using the presence of WHOLE_EXTENT() key to exclude
    any structure data pipelines. So removed that type check. I verified that it
    doesn't lead to any wrong ghost cell requests when contouring, for example.
(0028183)
Utkarsh Ayachit   
2012-02-08 17:27   
Closing bugs sitting in "customer review" for a long time.