Unsolved
1 Message
0
231
Cannot delete an existing clip
Hi, I am trying to delete a clip in my centera api but I always get an error.
This is my info:
------------------------------------------------------------------
Global Option:
FP_OPTION_MULTICLUSTER_DELETE_STRATEGY: 0
FP_OPTION_MULTICLUSTER_DELETE_CLUSTERS: 0
FP_OPTION_MULTICLUSTER_EXISTS_STRATEGY: 1
FP_OPTION_MULTICLUSTER_EXISTS_CLUSTERS: 3
FP_OPTION_MULTICLUSTER_QUERY_STRATEGY: 1
FP_OPTION_MULTICLUSTER_QUERY_CLUSTERS: 3
FP_OPTION_MULTICLUSTER_READ_STRATEGY: 2
FP_OPTION_MULTICLUSTER_READ_CLUSTERS: 3
FP_OPTION_MULTICLUSTER_WRITE_STRATEGY: 0
FP_OPTION_MULTICLUSTER_WRITE_CLUSTERS: 0
FP_OPTION_PROBE_LIMIT: 60
FP_OPTION_RETRYCOUNT: 6
FP_OPTION_RETRYSLEEP: -1
FP_OPTION_CLUSTER_NON_AVAIL_TIME: 600
FP_OPTION_EMBEDDED_DATA_THRESHOLD: 0
FP_OPTION_MAXCONNECTIONS: 100
FP_OPTION_OPENSTRATEGY: 0
------------------------------------------------------------------
Pool Option:
FP_OPTION_ENABLE_MULTICLUSTER_FAILOVER: 1
FP_OPTION_DEFAULT_COLLISION_AVOIDANCE: 0
------------------------------------------------------------------
Pool Capability:
FP_MONITOR: false
FP_BLOBNAMING: MG
FP_PRIVILEGEDDELETE: false
FP_COMPLIANCE.MODE: ce+
FP_COMPLIANCE.EBR: supported
FP_COMPLIANCE.RETNTION_HOLD: supported
FP_COMPLIANCE.RETENTION_MIN_MAX: supported
FP_RETENTION_HOLD: true
FP_WRITE: true
FP_DELETE: true
FP_DELETIONLOGGING: true
FP_RETENTION.DEFAULT: -1
FP_RETENTION.FIXED.MIN: 0
FP_RETENTION.FIXED.MAX: 604800
FP_RETENTION.MIN: 0
FP_RETENTION.MAX: 604800
FP_READ: true
FP_EXIST: true
FP_POOL_POOLMAPPINGS:
FP_PURGE: false
FP_CLIPENUMERATION: true
------------------------------------------------------------------
Clip Info:
Name: clipTest
Creation Date: 1685006784000
Total Size: 0
Number of Tags: 2
Number of Blobs: 0
------------------------------------------------------------------
Retention:
Retention Period: 0
Retention Hold: false
------------------------------------------------------------------
EBR:
EBR Enabled: true
EBR Period: 0
EBR Event Time: 0
------------------------------------------------------------------
DescriptionAttributes:
retention.wait_state: enabled
retention.period: 0
sdk.version: 3.3.719
type: Standard
name: clipTest
creation.date: 2023.05.25 09:26:24 GMT
modification.date: 2023.05.25 09:28:56 GMT
numfiles: 0
totalsize: 0
prev.clip:
clip.naming.scheme: MD5
numtags: 2
random-attr0: random-attr0
my Code:
FPClip fpClip = new FPClip(vPool, docId, FPLibraryConstants.FP_LAZY_OPEN);
if (FPClip.Exists(vPool, docId)) {
triggerClip(fpClip);
FPClip.Delete(vPool, docId);
}
private void triggerClip(FPClip fpClip) throws FPLibraryException {
fpClip.triggerEBREvent();
fpClip.Close();
}
Error:
ErrorString: FP_OPERATION_NOT_ALLOWED
Trace: NetworkPacket.checkControl(18)