Resolution: Shared nothing has been enabled and capacity for the Space is limited and eviction policy is set to lru. On restart, recovering issued but as-admin "show space" output returns all tuples and the number of evicted tuples is 0.
Example:
as-admin> show space 'dist-limited-bs-readOnly-teste--be_gen_Concepts_test1'
Space Definition:
_____________________________________________________________________________________________
Space Name : dist-limited-bs-readOnly-teste--be_gen_Concepts_test1
Space State : ready
Distribution Policy : distributed
Min Seeders : 1
Replication Count : 1
Replication Policy : sync
Capacity : 100
Eviction Policy : lru
Cache Policy : read-write through
Lock Scope : process
Persistence Policy : async
Persistence Type : shared nothing
Update Transport : unicast
Entry TTL : -1
Lock Wait : 0
Lock TTL : -1
Space Wait : 60000
Write Timeout : 60000
Read Timeout : 60000
Virtual Node Count : 1000
Phase Count : -1
Phase Interval : 200
Forget Old Value : false
Host Aware Replication : true
Routed : false
Phase Ratio : 100
Query Limit : 10000
Query Timeout : -1
File Sync Interval : 10000
Version Number : 0
Fields:
_____________________________________________________________________________________________
Field Name | Field Type | Nullable | Encrypted |
-------------------------------------------------------------------------------------------
id | long | false | false |
typeId__ | integer | false | false |
version__ | integer | false | false |
deleted__ | bool | false | false |
extId | string | true | false |
rrf__ | blob | true | false |
Key: {KeyDef type=hash_index, fields=id}
Distribution Fields: None
Index: {IndexDef name=extId_idx, type=hash_index, fields=extId}
Server/Seeder Statistics:
_________________________________________________________________________________________________________________________________________________________________________________________
Member Name |Role |Entries |Replicas |Puts |Takes |Gets |Expires |Evicts |Locks |Unlocks |Invokes |Queries |Misses |ToPersist |
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
host2_Cache2.PCmueller |seeder | 2000| 0| 2000| 0| 0| 0| 0| 0| 0| 0| 0| 0| 0|
_________________________________________________________________________________________________________________________________________________________________________________________This is expected behavior. During recovery, in order to avoid unnecessary eviction right after completion of recovery, tuples are loaded into memory that are already evicted. TIBCO ActiveSpaces will not load more tuples into local memory as configured.
Note: ActiveSpaces uses memory for each tuple stored in the context of SharedNothing persistence plus eviction. Only the non-indexed portion of a tuple is evicted. The metadata (tuple information) and indexed portion of the tuple is still held in memory, even if the tuple has been evicted.