Skip to content

TTL configured,but vid still can be found after expiration,after compaction looks normal #4399

Closed
@shanlai

Description

@shanlai

version:
image

steps

  1. execute ngql:
 CREATE TAG IF NOT EXISTS ttl01 (a timestamp);
 ALTER TAG ttl01 TTL_COL = "a", TTL_DURATION = 60;
 INSERT VERTEX ttl01(a) VALUES "ttl01_01":(now());
 match (v:ttl01) return v limit 1;
 submit job compact
 match (v:ttl01) return v limit 1;

Execution plan of nGQL: match (v:ttl01) return v limit 1;
image

  1. The problems found are as follows:
  • tag: TTL configured,but vid still can be found after expiration,after compaction looks normal,edge same as tag

image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

affects/v3.1PR/issue: this bug affects v3.1.x version.priority/low-priPriority: lowtype/bugType: something is unexpected

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions