Github user xuanyuanking commented on the issue:

    https://github.com/apache/spark/pull/16135
  
    @ericl Thanks for your review.
    
    > Is it sufficient to lock around the catalog.filterPartitions(Nil)?
    Yes, this patch port from 1.6.2 and I missed the diff here. Fixed in next 
patch.
    
    >  Why do we need reader locks?
    Write or Invalid the table cache operation fewer than read it. Reader 
waiting when there is same table writing cache.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to