Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add timestamps to TransactionServer #2228

Open
ddimaria opened this issue Jan 20, 2025 · 0 comments
Open

Add timestamps to TransactionServer #2228

ddimaria opened this issue Jan 20, 2025 · 0 comments
Labels
type: enhancement new feature or request

Comments

@ddimaria
Copy link
Collaborator

In order to be able to determine the age of a file in pubsub, we need to have timestamps added to messages in the queue. Currently, TransactionServer is:

pub struct TransactionServer {
    pub id: Uuid,
    pub file_id: Uuid,
    pub operations: Vec<u8>,
    pub sequence_num: u64,
}

The proposed change:

pub struct TransactionServer {
    pub id: Uuid,
    pub file_id: Uuid,
    pub operations: Vec<u8>,
    pub sequence_num: u64,
    pub timestamp: DateTime<Utc>,
} 
@ddimaria ddimaria added the type: enhancement new feature or request label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement new feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant