There are 2 bugs regarding the prefetch/caching
-
Currently, the dynamceb_prefetch() will loop on all tables, and will fail if any table is not caching.
Therefore when there are multiple dynamicemb tables that comprise both caching and non-caching table. The prefetch will not work. We need to fix this. Another issue is the caching flag always set by the first table. Is this expected?
-
The caching bucket capacity is fixed to 1024. If the table has smaller than 1024 , it reports error (assert failure) and exits. A better way is to report a warning and allocate a 1024 bucket.