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

Bulk index source reads data for all indices #202

Closed
danielmitterdorfer opened this issue Jan 23, 2017 · 0 comments
Closed

Bulk index source reads data for all indices #202

danielmitterdorfer opened this issue Jan 23, 2017 · 0 comments
Labels
bug Something's wrong :Track Management New operations, changes in the track format, track download changes and the like
Milestone

Comments

@danielmitterdorfer
Copy link
Member

Consider the following (incomplete) track snippet:

{
  "indices": [
    {
      "name": "elasticlogs_generated",
      "types": [
        {
          "name": "type",
          "mapping": "mappings.json",
          "documents": "generated_elasticlogs_1M.txt.bz2",
          "document-count": 1000000,
        }
      ]
    },
    {
      "name": "elasticlogs_live",
      "types": [
        {
          "name": "type",
          "mapping": "mappings.json",
          "documents": "live_elasticlogs_1M.txt.bz2",
          "document-count": 1000000,
        }
      ]
    }
  ],
  "operations": [
    {
      "name": "index-generated",
      "operation-type": "index",
      "index": "elasticlogs_generated",
      "bulk-size": 1000
    }
  ]
}
  • Expectation: index-generated should index 1 million documents
  • Actual result: it indexes 2 million documents

Analysis: The parameter source gets data about all indices but does not filter against the provided index, hence it reads both indices.

Note: This is not a problem for our official tracks as they don't use Rally in such a way.

@danielmitterdorfer danielmitterdorfer added :Track Management New operations, changes in the track format, track download changes and the like bug Something's wrong labels Jan 23, 2017
@danielmitterdorfer danielmitterdorfer added this to the 0.5.0 milestone Jan 23, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something's wrong :Track Management New operations, changes in the track format, track download changes and the like
Projects
None yet
Development

No branches or pull requests

1 participant