Skip to content

Conversation

@nfelt
Copy link
Contributor

@nfelt nfelt commented Jan 25, 2022

Add the --detect_file_replacement flag to control the behavior introduced in #5529, and all the associated plumbing in between.

Note: since this flag would currently be pointless for RustBoard (--load_fast=true) we disallow the combination, and in the default automatic selection logic (--load_fast=auto), we check for this flag and don't use RustBoard if it was passed.

Tested: ran TensorBoard with these changes enabled (including behavior-introducing PR) and confirmed that it now picks up new data when replacing an event file entirely rather than appending to it, writes the appropriate log messages, disables RustBoard, etc.

Diffbased on top of #5543 and #5544.

Cc: #349.

@nfelt nfelt force-pushed the nfelt-filereplace-5 branch from f5a38d7 to eb75d4a Compare January 31, 2022 23:50
@nfelt nfelt changed the base branch from nfelt-filereplace-4 to master January 31, 2022 23:51
@nfelt nfelt force-pushed the nfelt-filereplace-5 branch from eb75d4a to 93b8535 Compare February 1, 2022 01:51
@nfelt nfelt changed the base branch from master to nfelt-filereplace-base-1 February 1, 2022 01:51
@nfelt nfelt force-pushed the nfelt-filereplace-base-1 branch from 7c09e83 to 321d539 Compare February 1, 2022 02:41
@nfelt nfelt force-pushed the nfelt-filereplace-5 branch from 93b8535 to 9cc4913 Compare February 1, 2022 02:43
@nfelt nfelt marked this pull request as ready for review February 1, 2022 02:44
@nfelt nfelt requested a review from yatbear February 1, 2022 02:44
@nfelt nfelt merged this pull request into nfelt-filereplace-base-1 Feb 1, 2022
@nfelt nfelt deleted the nfelt-filereplace-5 branch February 1, 2022 16:54
@nfelt nfelt restored the nfelt-filereplace-5 branch February 1, 2022 16:59
@nfelt nfelt deleted the nfelt-filereplace-5 branch February 1, 2022 17:01
@nfelt
Copy link
Contributor Author

nfelt commented Feb 1, 2022

Oops, I merged this into the wrong branch 🤦‍♂️ Sending a re-do in #5546.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants