-
Notifications
You must be signed in to change notification settings - Fork 180
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
remove new_timestamp
fn , time
module, reworked plugin storage …
#1188
remove new_timestamp
fn , time
module, reworked plugin storage …
#1188
Conversation
…manager to use session timestamp generator
* Fix the README format. Signed-off-by: ChenYing Kuo <[email protected]> * Fix some out-dated contents. Signed-off-by: ChenYing Kuo <[email protected]> --------- Signed-off-by: ChenYing Kuo <[email protected]>
LGTM. However before merging it would be good a list of expected sister PRs in backends/plugins/bindings in such a way we can merge them back-to-back across all the repos. |
It looks like for the |
I'm not sure about that... a plugin gets a |
Let me summarize the problem with Influx_db: I.e. this //putting a stub here to be implemented later
async fn get_all_entries(&self) -> ZResult<Vec<(Option<OwnedKeyExpr>, Timestamp)>> {
tracing::warn!("called get_all_entries in InfluxDBv2 storage");
let mut result: Vec<(Option<OwnedKeyExpr>, Timestamp)> = Vec::new();
let curr_time = zenoh::time::new_reception_timestamp();
result.push((None, curr_time));
return Ok(result);
}
} should be just replaced by this: //putting a stub here to be implemented later
async fn get_all_entries(&self) -> ZResult<Vec<(Option<OwnedKeyExpr>, Timestamp)>> {
return Ok(Vec::new());
}
} |
In the case of InfluxDB, function |
9adb2d4
to
89cf6e5
Compare
Force push was to undo the changes adding session as an argument to the |
@Charles-Schleich could you please resolve the merge conflicts? |
@Mallets Done |
PR for InfluxDB: |
@Mallets The two repos that this effects are and in the case of RocksDB after discussing with @JEnoch i have opened an issue suggesting a change to the startup of the plugin, in the case of data that does not have a timestamp, we can discuss further there. |
…manager to use session timestamp generator
These changes aim to remove the ability to create a timestamp outside of a Zenoh
Session
.All timestamps and ID's associated must be connected to a Zenoh
Session