Skip to content

Fengttt mp 7867 - #16

Closed
fengttt wants to merge 2 commits into
mainfrom
fengttt-mp-7867
Closed

fengttt wants to merge 2 commits into
mainfrom
fengttt-mp-7867

Conversation

@fengttt

@fengttt fengttt commented Feb 11, 2023

Copy link
Copy Markdown
Owner

What type of PR is this?

  • API-change
  • BUG
  • Improvement
  • Documentation
  • Feature
  • Test and CI
  • Code Refactoring

Which issue(s) this PR fixes:

issue #

What this PR does / why we need it:

Requiring to set a size when create mp was a mistake.
That API make mpool hopelessly difficult to use.
Get rid of it, now always grow as necessary.
@fengttt fengttt closed this Feb 12, 2023
@fengttt
fengttt deleted the fengttt-mp-7867 branch February 12, 2023 06:46
fengttt pushed a commit that referenced this pull request Apr 20, 2023
abs function and ut and bench-mark
fengttt pushed a commit that referenced this pull request May 7, 2026
1. cago compiler with link system lib, so  ignore cgo generate files
`/usr/bin/ld` is my local Apple's linker

For example:
```
#16 52.59 # github.com/matrixorigin/matrixone/cmd/db-server
#16 52.59 /usr/local/go/pkg/tool/linux_amd64/link: running gcc failed: exit status 1
#16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_Add':
#16 52.59 decimal.cgo2.c:(.text+0x71): undefined reference to `Decimal128_Add'
#16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_AddDecimal64':
#16 52.59 decimal.cgo2.c:(.text+0xcd): undefined reference to `Decimal128_AddDecimal64'
#16 52.59 /usr/bin/ld: /tmp/go-link-2126209758/000006.o: in function `_cgo_df8c56550131_Cfunc_Decimal128_AddInt64':
```

2. According to matrixorigin#4535, the `system_vars_config.toml` will be the default config and  `make config` do not generate configuration files. So `system_vars_config.toml` should not be ignored. It's related to [optools/images/Dockerfile](https://github.com/matrixorigin/matrixone/blob/main/optools/images/Dockerfile)

3. Add some other generate files, like `gen_config` and ignore generate data at `store/`.

4. Fix config error

Approved by: @yingfeng
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant