fdb-record-layer icon indicating copy to clipboard operation
fdb-record-layer copied to clipboard

Deprecate in-memory recordsScanned counter for "Built Range" logs

Open nblintao opened this issue 4 years ago • 9 comments

Today, OnlineIndexer uses an in-memory counter recordsScanned to log how many records have been scanned ("Built Range" logs) once every 5 minutes, while it uses a value persisted in scannedRecordsSubspace for IndexBuildState requests.

We should deprecate recordsScanned and just use scannedRecordsSubspace in "Built Range" logs. And we can also add recordsInTotal to that log. In fact, all fields of IndexBuildState could be there.

nblintao avatar Feb 08 '21 23:02 nblintao

Can you please assign this to me?

vasantteja avatar Feb 10 '21 06:02 vasantteja

@vasantteja Of course. Thanks for being interested! Please let me you if you have any question.

nblintao avatar Feb 10 '21 18:02 nblintao

Hi @vasantteja, any progress? Do you need any help?

nblintao avatar Feb 18 '21 20:02 nblintao

Should I create another branch or should I fork this and make the changes on those?

vasantteja avatar Feb 27 '21 16:02 vasantteja

@nblintao can you please let me know how you want me to proceed?

vasantteja avatar Mar 03 '21 18:03 vasantteja

@vasantteja Sorry I missed your earlier message. You should:

  1. fork this repository as your own repository
  2. create a new branch on your own repository to develop
  3. After you finish, create a Pull Request to the main branch of this repository from the feature branch of your own repository.

And this will be helpful as well. https://github.com/FoundationDB/fdb-record-layer/blob/main/CONTRIBUTING.md#opening-a-pull-request

nblintao avatar Mar 03 '21 18:03 nblintao

@vasantteja For the general workflow of making a pull request, I find this might be helpful https://github.com/firstcontributions/first-contributions

nblintao avatar Mar 03 '21 23:03 nblintao

Hi @vasantteja, do you still intend to work on this issue?

nblintao avatar Apr 09 '21 23:04 nblintao

@nblintao hey yeah. I intend to work on this.

vasantteja avatar Apr 26 '21 02:04 vasantteja